Posts

Showing posts with the label docker-compose

UTF-8 encoding not working in Docker

UTF-8 encoding not working in Docker I'm running a Java program from within a Docker container (started with Docker Compose) and it's throwing a bunch of errors caused by UTF-8 characters (as they can't be mapped to the ASCII charset). Is there a way to enable UTF-8 encoding from the docker-compose file? Seems to me this has nothing to do with docker but all with your Java program. – Henry Jul 1 at 6:28 The program works outside of the Docker container...inside, it outputs "unmappable character for encoding ASCII" when trying to read a French character – Justin Borromeo Jul 1 at 6:43 @JustinBorromeo This proves that you've written your Java ...