Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode support? #1027

Closed
e-grigorov opened this issue Aug 8, 2018 · 4 comments
Closed

Unicode support? #1027

e-grigorov opened this issue Aug 8, 2018 · 4 comments
Labels
Milestone

Comments

@e-grigorov
Copy link
Contributor

There is a sample like:

namespace` com.mycompany.fb
version 1.0.0
displayname "Surprise"
description "Surprise"
functionblock Surprise {
	status {
		mandatory surprise as string "Überraschung"
	}
}

All generators dump: "?berraschung" instead of "Überraschung". It seems that there is an issue with the unicode support.

@aedelmann
Copy link
Contributor

Thanks. We are Looking Into that.

@aedelmann aedelmann added the bug label Aug 11, 2018
@aedelmann
Copy link
Contributor

Hi @e-grigorov
Would you be keen on sharing with us your fix for this problem ? I would run through some internal testings and provide it in the next release. What do you think?

@e-grigorov
Copy link
Contributor Author

Our test environment is using Xtext load option:

Injector injector = new FunctionblockStandaloneSetup().createInjectorAndDoEMFRegistration();
XtextResourceSet resourceSet = injector.getInstance(XtextResourceSet.class);
resourceSet.addLoadOption(XtextResource.OPTION_ENCODING, "UTF-8");
...

@aedelmann
Copy link
Contributor

Hi @e-grigorov
Awesome. Can u Pull Request this fix ?

@aedelmann aedelmann added this to the 0.10.0.M6 milestone Sep 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants