문제

I have a Netbeans platform program that uses a custom DataEditorSupport and a custom ClonableEditor. The files it reads are UTF-8 encoded and the editor that is created does not seem to be using UTF-8.

For example my file has

"TêSt"

and the editor displays this as

"TêStÃ"

How can I get the DataEditorSupport or ClonableEditor to use correctly read UTF-8?

도움이 되었습니까?

해결책

This FAQ entry in the NetBeans wiki might be of help. See also the General Queries API and, in special, the FileEncodingQuery.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top