I created TableViewer in that I'm setting table item text as following.
item.setText(0, String.valueOf((char) 255));
After running the program there is nothing displaying for above.
If I create Text or StyledText and set that value then I'm getting `ÿ`
StyledText styledText = new StyledText(shell, SWT.BORDER);
styledText.setText("Hello " + String.valueOf((char) 255));
I tried to set `StyledCellLabelProvider` but still no value is showing for
I tried to run the application with -Dfile.encoding=utf-8 option but no help.
What I'm missing here?, why table not displaying UTF-8 char
[Updated on: Wed, 07 May 2014 08:34]
Report message to a moderator