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

Improved support of UTF-8/ASCII in the SQLFeatureStore #818

Conversation

lgoltz
Copy link
Contributor

@lgoltz lgoltz commented Feb 15, 2017

This PR contains fixes two aspects of the character encoding in the SQLFeatureStore configuration.

The Feature Store Wizard fails if the application schema contains non 7-bitASCII characters. The created created SQLFeatureStore configuration contains the special chars in the mapping, which causes a NPE during parsing. This is fixed from two sides: First during the creation of the schema the name of columns and tables is translated from UTF-8 to ASCII. Therefor the project Junidecode [1] was forked [2], and a release [3] with a new buildjob [4] created. Second the ANTLR lexer rule for the identifier was enhanced to support UTF-8 as well. This allows user configuring deegree to use special chars from UTF-8.

Fix for #757

[1] https://github.com/gcardone/junidecode
[2] https://github.com/deegree/junidecode
[3] http://repo.deegree.org/content/repositories/releases/org/deegree/junidecode/0.2/junidecode-0.2.jar
[4] http://buildserver.deegree.org/view/misc/job/junidecode

@tfr42 tfr42 added the enhancement enhancement or improvement label Mar 5, 2017
@tfr42 tfr42 added this to the 3.3.20 milestone Mar 5, 2017
@tfr42 tfr42 modified the milestones: 3.3.20, 3.3.21 Nov 6, 2017
@copierrj copierrj merged commit 277c108 into deegree:3.3-master Feb 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants