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 #812

Conversation

lgoltz
Copy link
Contributor

@lgoltz lgoltz commented Feb 2, 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

@lgoltz lgoltz added this to the 3.4 milestone Feb 2, 2017
@tfr42 tfr42 added the bug error issue and bug (fix) label Feb 2, 2017
@copierrj copierrj merged commit ed8d5d1 into deegree:master Feb 2, 2018
@lgoltz lgoltz deleted the translateUnicodeToAsciiInFeatureStoreCOnfigWriter-3.4-4166 branch December 8, 2022 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug error issue and bug (fix)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants