brackets-archive / bracketsIssues

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

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

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by RaymondLim Tuesday Apr 03, 2012 at 23:34 GMT Originally opened as https://github.com/adobe/brackets/issues/530


  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"
core-ai-bot commented 3 years ago

Comment by peterflynn Wednesday Apr 04, 2012 at 01:10 GMT


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.

core-ai-bot commented 3 years ago

Comment by RaymondLim Wednesday Apr 04, 2012 at 01:50 GMT


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

core-ai-bot commented 3 years ago

Comment by njx Tuesday Apr 10, 2012 at 17:52 GMT


QRB assigning to Raymond for Sprint 7.