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

IDN Domain names where the Unicode contains letters not in the Latin character set #106

Closed
huwsteadCL opened this issue Aug 30, 2019 · 2 comments

Comments

@huwsteadCL
Copy link

We seem to have an issue rendering some IDN domains.

We are storing the domains in UTF8 within the domain.dom_unicode_name field.

If the IDN only contains characters with the latin character set (e.g. éxample) then the domain is rendered correctly in a domain query in the RedDog frontend. Conversely if the IDN contains non-latin characters (e.g. Russian / Chinese / Arabic etc) then the RedDog frontend always returns a 404 Object not found error.

Not sure if this is some mis-configuration on our end or a genuine bug in the current implementation

@dhfelix
Copy link
Contributor

dhfelix commented Sep 2, 2019

I don't have that issue, my local server can display japanese and arabic characters.
If you are using mysql, try adding the following queryparam to your connection.
characterEncoding=UTF-8
e.g.

jdbc:mysql://localhost:3306/rdap?useSSL=false&characterEncoding=UTF-8

@huwsteadCL
Copy link
Author

Thanks for that.. we did indeed not have the UTF-8 param set on our connection :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants