|
|
|
Re: Umlauts and UTF-8 BOM [message #1690278 is a reply to message #1690250] |
Thu, 26 March 2015 09:53 |
Hendrik Motza Messages: 7 Registered: October 2014 |
Junior Member |
|
|
'\\u...' is recognized as string and not as character. But the idea of a range was simple and helpful. I solved it that way:
terminal fragment LETTER: ('a'..'z' | 'A'..'Z' | 'À'..'ÿ');
I have seen that bug report, also the day it was opened and that the state is still marked as NEW. Is Xtext still under development or why does they ignore such old unhandled bugs?
I thought someone might have found another working solution for this like christian supposed. I will give it a further try!
[Updated on: Thu, 26 March 2015 10:48] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Umlauts and UTF-8 BOM [message #1739031 is a reply to message #1738932] |
Wed, 27 July 2016 05:32 |
Ed Merks Messages: 33258 Registered: July 2009 |
Senior Member |
|
|
I didn't test it, but perhaps the workspace doesn't think/know the
encoding is UTF-8 and isn't expected the BOM at the start.
On 26.07.2016 10:26, Jan Koehnlein wrote:
> You must have customized something else, as by default you never see
> the BOM inside the document, i.e. you never have to and you never can
> deal with it in the grammar.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04591 seconds