Community
Participate
Working Groups
There is a problem with resolving non UTF8 symbols like "���RR" in JFace tree. The symbols are displayed but cannot be selected. In addition it is not possible to use the horizontal scroll bar to scroll to the end of the tree node text. When debugging you can see the value with the unknown symbols, but if you click on the value the symbols disappear. Does anyone know a workaround or how to fix this?
(In reply to Duc Nguyen from comment #0) > There is a problem with resolving non UTF8 symbols like "���RR" in JFace > tree. The symbols are displayed but cannot be selected. In addition it is > not possible to use the horizontal scroll bar to scroll to the end of the > tree node text. > > When debugging you can see the value with the unknown symbols, but if you > click on the value the symbols disappear. > > Does anyone know a workaround or how to fix this? Can you please provide a sample project/code-snippet which highlights the above problem ?
Created attachment 283319 [details] Selection and scrollbar broken for non UTF-8 unicodes
You can just create a TreeViewer and register a Labelprovider where you hardcode to return "���RR" for the getText method. Then you should be able to reproduce. Thank you in advance!