Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Text encoding

Hi, I had a problem with the coding of the text on my character's sheet, in the preview area the sheet looks okey, but after completing the pull request, I could see that all the accents and the letter "ñ" were wrong, I suppose the solution is relative to the text encoding. Can I use a tag like that on this platform? : <meta http-equiv = "Content-Type" content = "text / html; charset = utf-8" /> or I have to replace each symbol with the html code, for example: á -> & aacute; these are the possible solutions that I have tought, any help is appreciated.
1563995246
Andreas J.
Forum Champion
Sheet Author
Translator
Javier GG said:  in the preview area the sheet looks okey, Did you go into the campaign and view the actual sheet? The sheet preview isn't 100% accurate, so it's always best to look at the sheet inside Roll20 to know it looks good,
Andreas J. said: Javier GG said:  in the preview area the sheet looks okey, Did you go into the campaign and view the actual sheet? The sheet preview isn't 100% accurate, so it's always best to look at the sheet inside Roll20 to know it looks good, Yes, If i use the custom code it looks well in the preview zone and inside the game, but after completing the pull request,  if i use the public sheet "Dragoncry" the accents and the letter "ñ" are wrong.
1563999693
Jakob
Sheet Author
API Scripter
Make sure that the file you submitted to the repo is actually UTF-8 encoded, that should do it. Adding tags does not help.
Jakob said: Make sure that the file you submitted to the repo is actually UTF-8 encoded, that should do it. Adding tags does not help. Yes i think that's the point, Thanks!
1564045825
Finderski
Pro
Sheet Author
Compendium Curator
Javier GG said: Jakob said: Make sure that the file you submitted to the repo is actually UTF-8 encoded, that should do it. Adding tags does not help. Yes i think that's the point, Thanks! What Jakob is getting at is your text editor should have some sort of default encoding, and you'd want to make sure that the text editor is saving the file in UTF-8 by default. That way, when you upload the files to Roll20, the UTF-8 encoding is in tact. For example, Here're the preferences for my version of Sublime: And a different text editor I use: So, since you can't use the meta tag, just make sure your text editor is saving the file using the proper encoding and it will happen automatically.