Richard Lobb, thank you very much. UTF-8 has been modified, but the error still appears. As a beginner, I don't know where the problem is, ask for help!
The machine's locale might be en_US.UTF-8 but is Apache set to use that? If you look at the file /etc/apache2/envvars on the Jobe server, you should be able to find a line beginning
What's the rest of that line?
Thank you very much for your reply! Are my settings correct?
It does seem odd that your machine locale is US (United States) but you've set Apache to NZ (New Zealand). I'd have expected both to be the locale of your home country. Is the NZ locale even installed on that machine?
I suggest setting the Apache locale to the same as the machine locale. Does that change anything?
Hi, Richard Lobb, thank you again! When I set it to: export lang = c.utf-8, I run the program perfectly. I'm very sorry to have wasted so much of your time. Thank you!
Good to know the problem is solved. Enjoy CodeRunner!