Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special characters not supported #40

Open
chabrault opened this issue Sep 6, 2024 · 2 comments
Open

Special characters not supported #40

chabrault opened this issue Sep 6, 2024 · 2 comments

Comments

@chabrault
Copy link

Hi,

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

  • In module_gameInit_params.R and in func_gameInit_validation, $\mu$ was not supported.
  • in ui_about.R, l.31 "Breeder's" was not supported and l. 40 "Timothée" was not supported.

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
Copy link
Collaborator

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants