arduino / arduino/Arduino

IDE 1.6.6: non-ascii characters are no longer displayed properly

Open
#4,259 14 comments 0 reactions 0 assignees View on GitHub
Component: IDE Component: IDE user interface Type: Bug Type: Regression
Dominant language
Java
Stars
14.6k
Forks
7k
PR merge metrics
No merged PRs in 30d

Description

I'm working with TFT displays and need to have readable cyrillic strings in code. Prior 1.6.6, having my files in win-1251 encoding and adding preproc.substitute_unicode=false in preferences.txt worked fine for me. But since upgrade, IDE shows squares instead of non-ascii chars that makes it impossible to read. Please fix.

Cyrillic in IDE 1.6.6
![wrong](https://cloud.githubusercontent.com/assets/8384372/11610036/e0b9e6ca-9b9f-11e5-896b-303616904ba8.png)

Same file in Sublime text editor
![correct](https://cloud.githubusercontent.com/assets/8384372/11610037/e0bdeec8-9b9f-11e5-818b-61193849487a.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the problem in Arduino IDE 1.6.6 with a win-1251 file and preproc.substitute_unicode=false in preferences.txt. Compare the IDE display with the supplied Sublime Text example; done means Cyrillic and other non-ASCII characters render as readable glyphs instead of squares.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.