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

Error caused by Korean language #832

Closed
JoonggeonLee opened this Issue Jan 19, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@JoonggeonLee

JoonggeonLee commented Jan 19, 2018

When I create FHIR Resource having some values in Korean, the server throws ArrayIndexOutOfBoundsException.

Best
Joonggeon

@jamesagnew

This comment has been minimized.

Owner

jamesagnew commented Jan 19, 2018

Hi, can you please provide an example?

@JoonggeonLee

This comment has been minimized.

JoonggeonLee commented Jan 19, 2018

This is sample FHIR resource having values in Korean.

image

This is ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.java where the exception happens.

I guess Normalizer.normalize(theString, Normalizer.Form.NFD) method works wrong.

Thank you for your concern

Best

@jamesagnew

This comment has been minimized.

Owner

jamesagnew commented Jan 19, 2018

Hello, did you accidentally include the wrong attachment? That appears to be a screenshot.

Can you please provide a sample resource which demonstrates this problem?

@JoonggeonLee

This comment has been minimized.

JoonggeonLee commented Jan 19, 2018

Oh sorry, I have attached the patient resource having Korean value

Thank you

PatientResource.zip

@jamesagnew

This comment has been minimized.

Owner

jamesagnew commented Jan 21, 2018

Perfect, thanks! That example did the trick, I'm committing a fix shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment