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

Inline editor stop working if you have a file with high-ascii or double-byte character in its filename in your project. #530

Closed
RaymondLim opened this issue Apr 3, 2012 · 3 comments
Labels

Comments

@RaymondLim
Copy link
Contributor

  1. From Windows Explorer replace a filename with some high-ascii or double-byte characters.
  2. Launch Brackets. If the renamed file is in the root folder, then you will see Developer Tools window pops up right away. If the renamed file is in a sub folder, then you won't see the tools window, but you won't be able to expand an inline editor. When you try that, you will get the developer tools window pop up. Also, if you try to expand the sub folder that contains the file, then you will get a message saying "error loading project .... error 1"
@peterflynn
Copy link
Member

From the looks of the exception, this is an issue with the native app code not properly escaping the JSON string it's generating (probably in stat() or readDir()). When the JS code receives the malformed JSON string and tries to parse it, the exception is thrown.

@RaymondLim
Copy link
Contributor Author

It turns out that any double-byte character or high-ascii character in filename will cause this issue.

@njx
Copy link
Contributor

njx commented Apr 10, 2012

QRB assigning to Raymond for Sprint 7.

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