You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "liyuheng55555 (via GitHub)" <gi...@apache.org> on 2024/04/03 09:07:24 UTC

[PR] Use UTF-8 to load and store properties file [iotdb]

liyuheng55555 opened a new pull request, #12291:
URL: https://github.com/apache/iotdb/pull/12291

   Currently, IoTDB uses the ISO/IEC 8859-1 encoding to read and write properties files. This encoding, which is the default for Java to handle properties files, does not support Chinese characters. In order to support Chinese characters, IoTDB will switch to using UTF-8 for all read and write operations on properties files.
   
   After this modification, the cluster name can be named in Chinese.
   
   ![image](https://github.com/apache/iotdb/assets/90501481/0956b213-ffec-42e9-a57d-c8ca41f4ffe0)
   
   *Although a portion of letters in ISO/IEC 8859-1 cannot be automatically parsed by UTF-8 (indicated by the red box), we believe these characters are very rarely used. 
   For common English characters (indicated by the green box), UTF-8 is fully compatible.*
   
   ![image](https://github.com/apache/iotdb/assets/90501481/e15bcc29-e56b-4ac0-bb3f-f5249600ffa3)
   
   


-- 
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: reviews-unsubscribe@iotdb.apache.org

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


Re: [PR] Use UTF-8 to load and store properties file [iotdb]

Posted by "OneSizeFitsQuorum (via GitHub)" <gi...@apache.org>.
OneSizeFitsQuorum merged PR #12291:
URL: https://github.com/apache/iotdb/pull/12291


-- 
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: reviews-unsubscribe@iotdb.apache.org

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