You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fury.apache.org by "chaokunyang (via GitHub)" <gi...@apache.org> on 2024/12/16 17:33:34 UTC

[I] [Python] support special char1/2 in MetaString Encoding [fury]

chaokunyang opened a new issue, #1983:
URL: https://github.com/apache/fury/issues/1983

   ### Feature Request
   
   In java MetaStringEncoder, we can pass special char1/2 like`new MetaStringEncoder('$', '_')`, then the encoding and decoding will encode such chars specially:
   ```java
     private int charToValueLowerUpperDigitSpecial(char c) {
       if (c >= 'a' && c <= 'z') {
         return c - 'a';
       } else if (c >= 'A' && c <= 'Z') {
         return 26 + (c - 'A');
       } else if (c >= '0' && c <= '9') {
         return 52 + (c - '0');
       } else if (c == specialChar1) {
         return 62;
       } else if (c == specialChar2) {
         return 63;
       } else {
         throw new IllegalArgumentException(
             "Unsupported character for LOWER_UPPER_DIGIT_SPECIAL encoding: " + c);
       }
     }
   ```
   
   We should do same things in python
   
   ### Is your feature request related to a problem? Please describe
   
   _No response_
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org


Re: [I] [Python] support special char1/2 in MetaString Encoding [fury]

Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang closed issue #1983: [Python] support special char1/2 in MetaString Encoding
URL: https://github.com/apache/fury/issues/1983


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org


Re: [I] [Python] support special char1/2 in MetaString Encoding [fury]

Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang commented on issue #1983:
URL: https://github.com/apache/fury/issues/1983#issuecomment-2546241410

   cc @pandalee99 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org


Re: [I] [Python] support special char1/2 in MetaString Encoding [fury]

Posted by "pandalee99 (via GitHub)" <gi...@apache.org>.
pandalee99 commented on issue #1983:
URL: https://github.com/apache/fury/issues/1983#issuecomment-2547590833

   I estimate that this demand will be completed between the 21st and 22nd.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org


Re: [I] [Python] support special char1/2 in MetaString Encoding [fury]

Posted by "pandalee99 (via GitHub)" <gi...@apache.org>.
pandalee99 commented on issue #1983:
URL: https://github.com/apache/fury/issues/1983#issuecomment-2546270160

   sure,pretty good.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org


Re: [I] [Python] support special char1/2 in MetaString Encoding [fury]

Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang closed issue #1983: [Python] support special char1/2 in MetaString Encoding
URL: https://github.com/apache/fury/issues/1983


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fury.apache.org
For additional commands, e-mail: commits-help@fury.apache.org