Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Acceleo] Accents(cant the generated files have accents?)
[Acceleo] Accents [message #1001257] Wed, 16 January 2013 10:32 Go to next message
Federico Toledo is currently offline Federico ToledoFriend
Messages: 97
Registered: April 2012
Location: Ciudad Real, Spain
Member
I am trying to create a java file from an Acceleo script, with a line like this

test.click("link=Gestión de Usuarios");

but the generated file results

test.click("link=Gesti�n de Usuarios");



I'm using UTF-8

[file (aClass.classJavaFilePath(), false, 'UTF-8')]

shouldnt it work?
thank you in advance for any clue
Re: [Acceleo] Accents [message #1001262 is a reply to message #1001257] Wed, 16 January 2013 10:41 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Make sure you set all files to UTF-8. This is most easily done by
setting UTF-8 on the entire project.

Regards

Ed Willink

On 16/01/2013 10:32, Federico Toledo wrote:
> I am trying to create a java file from an Acceleo script, with a line
> like this
>
> test.click("link=Gestión de Usuarios");
>
> but the generated file results
> test.click("link=Gesti�n de Usuarios");
>
>
>
> I'm using UTF-8
>
> [file (aClass.classJavaFilePath(), false, 'UTF-8')]
>
> shouldnt it work?
> thank you in advance for any clue
Re: [Acceleo] Accents [message #1001265 is a reply to message #1001262] Wed, 16 January 2013 10:51 Go to previous message
Federico Toledo is currently offline Federico ToledoFriend
Messages: 97
Registered: April 2012
Location: Ciudad Real, Spain
Member
Thank you Ed!

I've also found this
http://forge.ow2.org/tracker/index.php?func=detail&aid=314775&group_id=273&atid=350389

as a workaround they suggest to set UTF-8 in eclipse.ini
but just in case it affects other things... I'll follow your suggestion

bye!
Previous Topic:[Acceleo] Newbie Question XMI
Next Topic:[Acceleo] How to get the TargetFolder from script
Goto Forum:
  


Current Time: Thu Apr 25 06:50:20 GMT 2024

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

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

Back to the top