timflutre / PlantBreedGame

A serious game to teach plant selective breeding.
https://sourcesup.renater.fr/plantbreedgame/
GNU Affero General Public License v3.0
8 stars 2 forks source link

Special characters not supported #40

Open chabrault opened 2 months ago

chabrault commented 2 months ago

Hi,

When I tried to run the game with shiny::runApp(), I had several errors due to special characters:

These characters were displayed correctly.

In R / Global Options / Saving, the default text encoding was set to "UTF-8".

When I replace these characters, everything works.

juliendiot42 commented 2 months ago

Thank you for your message.

You mentioned:

I had several errors due to special characters: [...] These characters were displayed correctly.

Do you have errors like you can't even start the game or you can start the game but the app it display some error messages on the screen ?

In R / Global Options / Saving, the default text encoding was set to "UTF-8". Indeed, all the code files are encoded with "UTF-8" could you confirm you read (not save) those file with UTF-8 encoding too?

Do you have this problem too if you run the game with the docker image ?

chabrault commented 2 months ago

When I said that the special characters were displayed correctly, I meant in RStudio, when I opened the R scripts. The game couldn't start.

I'm trying to find a way to run the game from docker, I'll tell you once I've managed it.