I want to adress an NPC with a ß (in german called a sharp S )
I tried to find out in the ASCI Table, what when i had a look
ASCI Table says: ß = \223 but it doesn't work also I don't see something common with the \132 (ae) (Kuhkäfer )
does anyone know that how to solve ?
thx
whats the code for " ß " ?
Re: whats the code for " ß " ?
I don't have experience with those type of letters but I believe you should be able to type them directly into your scripts as long as you save the file as "UTF-8 without BOM". Notepad++ can save in that format.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: whats the code for " ß " ?
The texts inside RoM are not encoded as ASCII, because this would limit the possible languages to latin alphabet only.
ASCII is a single byte encoding, that does only allow up to 256 different characters which is no longer sufficient.
RoM uses UTF-8 encoding. The code for "LATIN SMALL LETTER SHARP S" is (hex numbers) C3 9F.
To find other codes you can lookup UTF-8 encoding tables in the internet.
Perhaps it will work, if you save your script files with UTF-8 encoding (you can select your encoding when saving files with notepad).
But I don't know if micromacro is able work with UTF-8 encoded strings. I think you should try to work with object IDs.
ASCII is a single byte encoding, that does only allow up to 256 different characters which is no longer sufficient.
RoM uses UTF-8 encoding. The code for "LATIN SMALL LETTER SHARP S" is (hex numbers) C3 9F.
To find other codes you can lookup UTF-8 encoding tables in the internet.
Perhaps it will work, if you save your script files with UTF-8 encoding (you can select your encoding when saving files with notepad).
But I don't know if micromacro is able work with UTF-8 encoded strings. I think you should try to work with object IDs.
Re: whats the code for " ß " ?
All the waypoints based on lua code, so use the lua-umlaut-code
the table of all umlauts and ß
works fine for me!
BTW: this section is for waypoints,scripts and userfunctions only, not for such questions.
the table of all umlauts and ß
Code: Select all
ä \195\164 Jäger = J\195\164ger
Ä \195\132 Ärger = \195\132rger
ö \195\182 schön = sch\195\182n
Ö \195\150 Ödipus = \195\150dipus
ü \195\188 Rüstung = R\195\188stung
Ü \195\156 Übung = \195\156bung
ß \195\159 Straße = Stra\195\159e
BTW: this section is for waypoints,scripts and userfunctions only, not for such questions.
Last edited by gloover on Thu Jul 05, 2012 1:20 pm, edited 1 time in total.
Re: whats the code for " ß " ?
hello....
saving as "UTF-8 without BOM" was not successfully ;(
writing it like that: ß \195\159 Straße = Stra\195\159e
was adding 2 ASCI signs... also not successfully..
but seems like having it in the UTF-8 and the ASCI Sign \225 as ß was now succesfully.
Thank you all..
btw... i'm always not sure it if it is a way point issue or something else.. sorry
saving as "UTF-8 without BOM" was not successfully ;(
writing it like that: ß \195\159 Straße = Stra\195\159e
was adding 2 ASCI signs... also not successfully..
but seems like having it in the UTF-8 and the ASCI Sign \225 as ß was now succesfully.
Thank you all..
btw... i'm always not sure it if it is a way point issue or something else.. sorry
Re: whats the code for " ß " ?
--=== Moved ===--
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: No registered users and 8 guests