encoding problem, character like ö, ü, ä, ß are not displayed correctly
Hi,
we have a problem with the generation of java files. the umlauts as ä, ö, ü, ß in our
generated java files are not displayed correctly. First we used the following command:

The umlauts are still not correct. We execute this command directly
on the command line(the same problem occurs):

If we execute exactly the same maven command directly on the ubuntu command line (thus completely independent of TeamCity), the umlauts
however all correct in the java source files. We have already tried the following and our settings are:
- current configuration parameter:
- our agent settings:

We think the error lies here:
Has someone a idea?
Please sign in to leave a comment.
Hi Tim,
the two configurations you have for the agent, one is for files, and the other one are for the stdin/stdout, so none really impact what you seem to be doing later. You could, and probably should, modify the locale that the running agent has, or, seeing that you are running a command line script, set the locale as the first step of the script, and then move on. Could you check whether that works?
I solved the problem. It lay as suspected at the default locale. So I set the following parameter in the buildAgent.properties: env.LANG = en_US.UTF-8