stringUtils.getDocumentation() does not produce correct UTF-8 encoding with 
special characters
----------------------------------------------------------------------------------------------

         Key: CORE-137
         URL: http://jira.andromda.org/browse/CORE-137
     Project: AndroMDA Core
        Type: Bug

    Versions: 3.2    
 Environment: MacOS 10.4.8, Java version "1.5.0_07"
    Reporter: Johann Wilfling
 Assigned to: Chad Brandon 


If there are special characters (e.g umlaut, euro symbol "€") within the 
MagicDraw documentation of an entity/property, AndroMDA does not generate a 
correct UTF-8 encoding if stringUtils.getDocumentation() is used within the 
templates.
(If the generated file is opened in a texteditor it shows "ISO-8859-1" instead 
of "UTF-8").

As a subsequence of this the schema export with Hibernate (hbm2ddl) fails with 
this exception:
Caused by: org.dom4j.DocumentException: Invalid byte 2 of 2-byte UTF-8 
sequence. Nested exception: Invalid byte 2 of 2-byte UTF-8 sequence.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Reply via email to