It is currently November 25th, 2020, 1:36 pm

Special characters inside a Substitute

Help with creating, editing & fixing problems with skins
Creepy_Socks
Posts: 2
Joined: November 18th, 2020, 9:34 pm

Special characters inside a Substitute

Post by Creepy_Socks »

Hi I'm translating a simple time skin wich uses a substitute to get the numbers into words. The problem is my language uses the leter ë and this won't show properly.
I looked up the character table ( https://unicode-table.com/en/00EB/) but I don't know how to implement this.
Thanks in advance.
User avatar
CodeCode
Posts: 165
Joined: September 7th, 2020, 2:24 pm

Re: Special characters inside a Substitute

Post by CodeCode »

Hi, you need to change the encoding of the ini file to the one that is oriented for you lingual code. That is saving the file using probably Notepad and save as encoding... for your region. You can google what that is and save your file that way.
Can't fix it if it ain't broke - unless it is in code.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 4183
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Special characters inside a Substitute

Post by eclectic-tech »

Creepy_Socks wrote: November 18th, 2020, 9:40 pm Hi I'm translating a simple time skin wich uses a substitute to get the numbers into words. The problem is my language uses the leter ë and this won't show properly.
I looked up the character table ( https://unicode-table.com/en/00EB/) but I don't know how to implement this.
Thanks in advance.
These tips may also help: Unicode-In-Rainmeter :great:
User avatar
balala
Rainmeter Sage
Posts: 11806
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Special characters inside a Substitute

Post by balala »

Creepy_Socks wrote: November 18th, 2020, 9:40 pm Hi I'm translating a simple time skin wich uses a substitute to get the numbers into words. The problem is my language uses the leter ë and this won't show properly.
CodeCode's above suggestion is probably what you have to do. Encode the skin's main .ini file either to UTF-16 LE (using Notepad) or UCS-2 LE BOM (using Notepad++). for details see this: https://forum.rainmeter.net/viewtopic.php?f=5&t=33243&p=165012#p165012
If this doesn't help, please pack the whole config and upload it here, to can check what's going on.
Creepy_Socks
Posts: 2
Joined: November 18th, 2020, 9:34 pm

Re: Special characters inside a Substitute

Post by Creepy_Socks »

The encoding helped, thanks a lot guys!
User avatar
balala
Rainmeter Sage
Posts: 11806
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Special characters inside a Substitute

Post by balala »

Creepy_Socks wrote: November 19th, 2020, 8:28 am The encoding helped, thanks a lot guys!
Ok, I'm glad.