0

Add option to convert text encodings. For example to read chinese files (GB18030) you need to convert to unicode (UTF-8).

Freemen Muaddib 11 months ago in General updated 11 months ago 2

Add option to convert text encodings. For example to read chinese (GB18030) you need to convert to unicode (UTF-8).

Currently changing the encoding settings from the info panel does not convert the encoding of the file.

Answer

Answer

Tap and hold a file and choose "Open with Encoding..." from the menu to select the encoding with which to open the file. 

This is described in the manual at https://www.textasticapp.com/v9/manual/viewing_editing_files/character_encoding.html

Answer

Tap and hold a file and choose "Open with Encoding..." from the menu to select the encoding with which to open the file. 

This is described in the manual at https://www.textasticapp.com/v9/manual/viewing_editing_files/character_encoding.html

When changing the encoding in the Document Panel Textastic should always ask the the user if he want to save (or save as..) the file in the new encoding (always alerting the user that the current text displayed will be encoded 'as is' in the new encoding), or if he wants to reload the current file using the selected encoding to open it (always alerting the user that doing so will discard all unsaved changes and reload the file). Also when opening the file it should autodetect the encoding (now it doesn't detect chinese GB18030 and open the file as garbage).