Hello, everyone!
I'm pretty new to lua scripting (started yesterday, to be exact kk), and while trying to translate/create some os my skins I got stuck into a problem that seems to be simple, but I find no solution anywhere.
How can I write accute characters!?!?!?!?
I'm Brazilian, and a lot of our words have accute characters like "ÁáÉéÍíÓóÚú", and in the skins they become something like "oÃcÃÃÃ"óÃsú".
Thanks in advance!
It is currently July 27th, 2024, 8:01 am
How to write accute charactres
-
- Posts: 3
- Joined: January 14th, 2018, 4:25 pm
- Location: BRASIL
-
- Posts: 3
- Joined: January 14th, 2018, 4:25 pm
- Location: BRASIL
Re: How to write accute charactres
And by the way, if someone need help translating something to pt-br, I'll be happy to help ![Welcome :welcome:](./images/smilies/bs.gif)
![Welcome :welcome:](./images/smilies/bs.gif)
-
- Developer
- Posts: 22649
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: How to write accute charactres
In general, you want both your skin .ini / .inc files and your Lua .lua files to be encoded as UTF-16 Little Endian in your text editor.
Unicode (Windows Notepad.exe)
UCS-2 LE BOM (Notepad++)
UTF-16 LE (Sublime Text)
https://docs.rainmeter.net/tips/unicode-in-rainmeter/
Unicode (Windows Notepad.exe)
UCS-2 LE BOM (Notepad++)
UTF-16 LE (Sublime Text)
https://docs.rainmeter.net/tips/unicode-in-rainmeter/
-
- Posts: 3
- Joined: January 14th, 2018, 4:25 pm
- Location: BRASIL
Re: How to write accute charactres
I knew it was simple, but didn't expect to be that much...
It's time to stop coding and sleep kkk
Thanks bro!
![Head Bang :headbang:](./images/smilies/dy.gif)
![Embarrassed :oops:](./images/smilies/ah.gif)
It's time to stop coding and sleep kkk
Thanks bro!