Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Dilato: Core: Brackets still not support other encodings #13422

Closed
Zhanxin opened this issue Jun 6, 2017 · 5 comments
Closed

Dilato: Core: Brackets still not support other encodings #13422

Zhanxin opened this issue Jun 6, 2017 · 5 comments
Assignees
Labels

Comments

@Zhanxin
Copy link
Collaborator

Zhanxin commented Jun 6, 2017

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

@Zhanxin Zhanxin added the IQE label Jun 6, 2017
@petetnt
Copy link
Collaborator

petetnt commented Jun 7, 2017

Encoding support is WIP in #13412

@Zhanxin
Copy link
Collaborator Author

Zhanxin commented Jun 13, 2017

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

@Zhanxin
Copy link
Collaborator Author

Zhanxin commented Jun 19, 2017

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

@saurabh95
Copy link
Contributor

We are not currently supporting files with BOM characters (UTF-16 LE and UTF-16BE)

@redmunds redmunds changed the title Dilato: Core: Beackets still not support other encodings Dilato: Core: Brackets still not support other encodings Jun 22, 2017
@ZuoBaogang
Copy link

ZuoBaogang commented Jul 5, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants