facebook

UML designer can not display Chinese characters properly.

  1. MyEclipse Archived
  2.  > 
  3. UML Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #250128 Reply

    liuwangxia
    Member

    I use windows xp home sp 2 Simplified Chinese version, eclipse 3.1.2, myeclipse 4.1.1.
    When I design a class diagram, and then input some Chinese word as class name or property name, the diagram designer can’t display them properly, but the property editor can display them properly. Then I generate java code, all the Chinese word can’t be displayed properly(the text file encoding of my project is UTF-8), when I chang the text file encoding to GBK, Chinese word in the java code then is right there. So, the java code generator generate java code encoding with GBK, that is my windows default, but I want to use UTF-8 as my java source encoding type, and there is not a way to specify that encoding type.
    BTW, the font of the property editor is too small, and I found no way to change is.

    #250147 Reply

    Kapil Kapre
    Member

    Can you email us a java file w/ GBK Encoding so that we can test this issue. Please confirm that on reverse engineering that file MyUML doesnt display the characters properly. (email support@genuitec.com with a link to this thread)
    Thanks,
    Kapil

    #250244 Reply

    liuwangxia
    Member

    @support-kapil wrote:

    Can you email us a java file w/ GBK Encoding so that we can test this issue. Please confirm that on reverse engineering that file MyUML doesnt display the characters properly. (email support@genuitec.com with a link to this thread)
    Thanks,
    Kapil

    Thanks, I sent the java source code and a screen snapshot to that email address.
    If you confirmed that problem, please send me a patch file.

    #250271 Reply

    Kapil Kapre
    Member

    liuwangxia,
    We recieved your file and it seems there is a bug in interpreting the chinese characters. I’ve filed the issue as a bug internally.

    #250341 Reply

    liuwangxia
    Member

    @support-kapil wrote:

    liuwangxia,
    We recieved your file and it seems there is a bug in interpreting the chinese characters. I’ve filed the issue as a bug internally.

    Thanks.
    When myUML generate java code, there is no way to specify the encoding of the java file. I don’t use GBK as my java file charSet but UTF-8, because UTF-8 is more compatible.
    And I can’t export myUML as XMI file.
    I’d like you to solve these problem.

    #254286 Reply

    williamfu
    Member

    I find the bug too.
    when’ll you fix this bug?

    #254317 Reply

    Riyad Kalla
    Member

    Unfortunately the priority on this hasn’t been bumped due to demand, but I will request we address it soon.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: UML designer can not display Chinese characters properly.

You must be logged in to post in the forum log in