I want to enable special (scandinavian) characters on Railway. Works in local environment.
erikmalm
HOBBYOP

a year ago

I have set up a Java Springboot application which fetches HTML content and parses it. Everything works fine except I can't get scandinavian characters (å, ä and ö) to work after deploying. I have tried specifying application.properties but it still doesn't work. Is there a setting I need to do on the railway server side?

project-id: d9957bc2-4cac-4a55-807d-267c37d6d5ae

4 Replies

erikmalm
HOBBYOP

a year ago

d9957bc2-4cac-4a55-807d-267c37d6d5ae


erikmalm
HOBBYOP

a year ago

Upon further investigation, it seems that the server can't handle å, ä and ö at all. Is there a way to enable scandinavian/special (should be UTF8) in general on server?


erikmalm
HOBBYOP

a year ago

Solved. I had to explicitly set the charset on system out.


brody
EMPLOYEE

a year ago

…to UTF-8


Loading...