thebaselab / codeapp

Building a full-fledged code editor for iPad
https://code.thebaselab.com
MIT License
2.91k stars 197 forks source link

Support "Save with Encoding" Feature for Proper Encoding Conversion (Similar to VSCode) #1126

Open PKC278 opened 1 month ago

PKC278 commented 1 month ago

The app currently allows files to be reopened with a specific encoding by clicking on the encoding type in the bottom right corner (Reopen with Encoding). However, if the file is not in UTF-8, text in the terminal (e.g., Chinese) will appear garbled.

To improve this, it would be helpful to add a "Save with Encoding" feature to support encoding conversion, similar to how it's implemented in VSCode.

bummoblizard commented 1 month ago

Thank you for the suggestion. This feature is important.