brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Dilato: Core: Brackets still not support other encodings #11342

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by Zhanxin Tuesday Jun 06, 2017 at 11:04 GMT Originally opened as https://github.com/adobe/brackets/issues/13422


Steps:

  1. Launch Beackets
  2. Try to open other encoding files other than UTF-8, tried with Unicode and UTF-16

Result: I always get an error that Brackets only support UTF-8 files Expect: The files could be opened and edit aaa.txt error

core-ai-bot commented 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

core-ai-bot commented 3 years ago

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: characternotdisplay

Testing file: Unicode: aaa.txt GB2312: new 1.txt

core-ai-bot commented 3 years ago

Comment by Zhanxin Monday Jun 19, 2017 at 14:06 GMT


This issue still available, if open a utf-16 LE or utf-16 BE file, the brackets would display nothing. Attached files: utf-be: bcd.txt utf-le: abc.txt

core-ai-bot commented 3 years ago

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)

core-ai-bot commented 3 years ago

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. errormessage Close as fixed.