Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » why windowbuilder us only unicode
why windowbuilder us only unicode [message #687840] Thu, 23 June 2011 11:12 Go to next message
lamia100@naver.com  is currently offline lamia100@naver.com
Messages: 5
Registered: June 2011
Location: korean
Junior Member
[Design]
i type Properties > text "가나다" (is korean)
[Source code]
new JButton("\uAC00\uB098\uB2E4");

probably my eclipse use "MS949" or "EUC-KR"

first solution
Window> Preferances > General > Workspace > text file encoding
fix "MS949">>"UTF-8"
... is many problem

i want windowbuilder use "EUC-KR","MS949"... etc


----------------------------------------------------
[Source code]
new JButton("가나다");

[Design]
Properties > text "가나다"
is OK.

[Updated on: Thu, 23 June 2011 11:14]

Report message to a moderator

Re: why windowbuilder us only unicode [message #687931 is a reply to message #687840] Thu, 23 June 2011 14:42 Go to previous messageGo to next message
Konstantin Scheglov is currently offline Konstantin Scheglov
Messages: 554
Registered: July 2009
Senior Member
Works for me when I set Java file encoding to UTF-8 and use Russian text.
Actually, when I copy/paste you text it also looks good in both source code and on design canvas.


Konstantin Scheglov,
Google, Inc.
Re: why windowbuilder us only unicode [message #688576 is a reply to message #687931] Sat, 25 June 2011 00:39 Go to previous messageGo to next message
lamia100@naver.com  is currently offline lamia100@naver.com
Messages: 5
Registered: June 2011
Location: korean
Junior Member
hmm...

yes unicode is very good..

but

i look source code.

new JButton("\uAC00\uB098\uB2E4");

is what???

what is "\uAC00\uB098\uB2E4".

difficult understand

i want choice "\uAC00\uB098\uB2E4" or "가나다".

[Updated on: Sat, 25 June 2011 00:43]

Report message to a moderator

Re: why windowbuilder us only unicode [message #689535 is a reply to message #688576] Mon, 27 June 2011 19:28 Go to previous message
Konstantin Scheglov is currently offline Konstantin Scheglov
Messages: 554
Registered: July 2009
Senior Member
As I already told, when I set UTF-8 encoding for file and enter Russian (or your) text, I see in source code Unicode characters, not "\uAC00\uB098\uB2E4".

Konstantin Scheglov,
Google, Inc.
Previous Topic:SWT Tree and treeItem errors in design view
Next Topic:NPE in JFace Automatic Databinding
Goto Forum:
  


Current Time: Tue Sep 16 09:29:41 GMT 2014

Powered by FUDForum. Page generated in 0.02005 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software