mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[209445] text pane should respect the set character mode, US-ASCII, ISO_8859_1, ...
This commit is contained in:
parent
3ce419b7b1
commit
87ab767fb7
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ public class TextPane extends AbstractPane
|
|||
StringBuffer cellTextBuffer = new StringBuffer(cellText);
|
||||
cellTextBuffer.setCharAt(subCellPosition, character);
|
||||
|
||||
byte byteData[] = cellTextBuffer.toString().getBytes();
|
||||
byte byteData[] = cellTextBuffer.toString().getBytes(fRendering.getCharacterSet(fRendering.getTextMode()));
|
||||
if(byteData.length != bytes.length)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue