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

Brackets Sprint displaying unwanted \u0 (NULL chars) #6247

Closed
webketje opened this issue Dec 14, 2013 · 1 comment
Closed

Brackets Sprint displaying unwanted \u0 (NULL chars) #6247

webketje opened this issue Dec 14, 2013 · 1 comment

Comments

@webketje
Copy link

Brackets Sprint (34, latest version) displays \u0 (NULL or U+0000) chars between every letter of the document, whereas Notepad++ or Sublime Text 2 do not. EDIT: I wish to stress that this only happens for a series of files.

They can be eliminated 300 at a time with the 'replace' feature by finding /\0/, but this is way too slow.

Please incorporate an efficient way to eliminate NULL chars from the file, or to filter them out on opening the file.

Picture of the error:
image
(the file is a generated file from the game 'Rome Total War')

@peterflynn
Copy link
Member

@tyblitz It sounds like you're opening a UTF-16 encoded file. Brackets doesn't support encodings other than UTF-8 yet: https://trello.com/c/DShzQztM/731-support-encodings-other-than-utf-8. Please follow the feature on Trello for updates (you can also upvote it!).

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

No branches or pull requests

2 participants