whats the code for " ß " ?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
rambo66
Posts: 58
Joined: Fri Dec 17, 2010 6:51 am
Location: Germany

whats the code for " ß " ?

#1 Post by rambo66 » Thu Jul 05, 2012 8:52 am

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

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: whats the code for " ß " ?

#2 Post by rock5 » Thu Jul 05, 2012 9:25 am

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

Jandrana
Posts: 187
Joined: Thu Jul 05, 2012 5:53 am

Re: whats the code for " ß " ?

#3 Post by Jandrana » Thu Jul 05, 2012 9:30 am

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.

User avatar
gloover
Posts: 304
Joined: Wed Jul 07, 2010 4:31 am

Re: whats the code for " ß " ?

#4 Post by gloover » Thu Jul 05, 2012 9:35 am

All the waypoints based on lua code, so use the lua-umlaut-code

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 
works fine for me!

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.

rambo66
Posts: 58
Joined: Fri Dec 17, 2010 6:51 am
Location: Germany

Re: whats the code for " ß " ?

#5 Post by rambo66 » Thu Jul 05, 2012 10:22 am

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

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: whats the code for " ß " ?

#6 Post by lisa » Thu Jul 05, 2012 6:51 pm

--=== 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

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 4 guests