Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Generator: Force the encoding
Generator: Force the encoding [message #1095743] Tue, 27 August 2013 13:12 Go to next message
Chris Hansen is currently offline Chris HansenFriend
Messages: 20
Registered: July 2013
Junior Member
Hello,

is there any way to force the encoding of a File which is generated by an xtend-Generator?

The File properties of my Template say that it is encoded in UTF-8, but the Files generated by this Template aren't.

Can I force the Generator to produce UTF8-Files?

Regards, Chris
Re: Generator: Force the encoding [message #1095773 is a reply to message #1095743] Tue, 27 August 2013 14:01 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

standalone? => IEncodingProvider

or ui? afaik the workspace/project encoding is used by default (see EclipseResourceFileSystemAccess2)


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:defined int attribute in the grammar ,this elements is incrementally automatically
Next Topic:End-to-end DSL unit testing?
Goto Forum:
  


Current Time: Fri Apr 26 03:44:42 GMT 2024

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

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

Back to the top