Open core-ai-bot opened 3 years ago
Comment by petetnt Wednesday Jun 07, 2017 at 19:45 GMT
Encoding support is WIP in https://github.com/adobe/brackets/pull/13412
Comment by Zhanxin Tuesday Jun 13, 2017 at 09:41 GMT
Tried again with build 1.10.0-17455 21, still could reproduce this issue. When open a unicode file, I would get an error message that the file is not support. I also tried a file with encoding Chinese GB2312, the file could be opened, but the Chinese characters can't be displayed on the Brackets:
Comment by saurabh95 Wednesday Jun 21, 2017 at 09:01 GMT
We are not currently supporting files with BOM characters (UTF-16 LE and UTF-16BE)
Comment by ZuoBaogang Wednesday Jul 05, 2017 at 13:00 GMT
Retest this issue with build 1.10.0-17313, UTF-16 has been removed form the encoding list. The error message is reasonable if open an UTF-16 file. Close as fixed.
Issue by Zhanxin Tuesday Jun 06, 2017 at 11:04 GMT Originally opened as https://github.com/adobe/brackets/issues/13422
Steps:
Result: I always get an error that Brackets only support UTF-8 files Expect: The files could be opened and edit aaa.txt