EOGenerator -encoding and -templateEncoding parameters are unsupported
----------------------------------------------------------------------
Key: WOL-715
URL: http://issues.objectstyle.org/jira/browse/WOL-715
Project: WOProject/WOLips
Issue Type: Bug
Components: wolips
Affects Versions: WOLips 3.3.2.* (nightly build please specify)
Reporter: Francis Labrie
Attachments: skitched-20080125-122706.png
First of all: I know, I should migrate to JavaGenerator or VelocityGenerator. But we are still on Tiger for a long time and we have dozens of templates EOGenerator for lots of projects to migrate. :-(
EOGenerator -encoding and -templateEncoding parameters are unsupported, which leads to encoding mixup problems. And if I add these parameters by hand in the *.eogen file, there're ignored:
/usr/bin/eogenerator -destination Sources -encoding UTF-8 -templateEncoding UTF-8 -java -javaTemplate "Enterprise Objects/JavaClassSource.eotemplate" -model "Enterprise Objects/TerritoireAdministratifQuebec.eomodeld" -packagedirs -prefix _ -refmodel /Library/Frameworks/MicrosoftSQLServerPlugIn.framework/Resources/EOMicrosoftSQLServerPrototypes.eomodeld -subclassDestination Sources -subclassJavaTemplate "Enterprise Objects/JavaSubclassSource.eotemplate" -verbose
The result is that non ASCII characters stored in EOModel ("userInfo = {description = "le code num\U00e9rique unique de la circonscription"; }; " for example) are inserted in the target Java source file as MacRoman instead of UTF-8. So the generated Java source file contains both UTF-8 characters and MacRoman ones...
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Fri Jan 25 2008 - 12:28:31 EST