Blockland Forums > Modification Help
RTB Development
<< < (172/889) > >>
M:

--- Quote from: Ephialtes on February 02, 2010, 07:52:40 AM ---Your escaped code is incorrect - How are you expecting it to represent something like U+00D6? UTF-8 will only use a single byte for anything up to 7F (127) beyond that, it uses a second byte.

--- End quote ---

--- Code: ---\xD6
--- End code ---
It's not leaving the character as a single character. It's converting it into the escape sequence that Torque can use collapseescape() to convert back into the character.
Ephialtes:
You do know that \x is the unicode escape character right? This is still not using UTF-8 characer encoding so it would constitute invalid XML.
M:

--- Quote from: Ephialtes on February 02, 2010, 09:25:04 AM ---You do know that \x is the unicode escape character right? This is still not using UTF-8 characer encoding so it would constitute invalid XML.

--- End quote ---
Escape character. As in, it's not a unicode character of itself, it's a backslash and an X followed by a hexadecimal number.
Ephialtes:
\xD6 is unicode. This needs to be turned into UTF-8. I don't know why I'm still having this discussion.
M:

--- Quote from: Ephialtes on February 02, 2010, 10:32:49 AM ---\xD6 is unicode. This needs to be turned into UTF-8. I don't know why I'm still having this discussion.

--- End quote ---
Then send it as \\xD6.
If you can't send a backslash followed by an X then a D then a 6, I am seeing some serious problems in the future of RTB Connect.

Edit: Snipped frustration.
Navigation
Message Index
Next page
Previous page

Go to full version