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

2 years 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

2 years ago

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


erikmalm
HOBBYOP

2 years 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

2 years ago

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


2 years ago

…to UTF-8


Loading...