Hi!
Im using SmartFoxServer 1.1.1., and I want to use swedish letters in the config.xml-file.
For instance:
--------------
config.xml:
<Zones>
<Zone name="simpleChat" uCountUpdate="true" buddyList="20">
<Rooms>
<Room name="Lobby" maxUsers="19" isPrivate="false" isTemp="false" autoJoin="true" >
<Vars>
<Var name="rV_PowerPoint" type="s" persistent="false" private="false">Hallå</Var>
etc.
-------------------
On the last line, there is the letter "Ã¥". But it only gets registered as "null" in the admin-panel, and does not show at all when using it in my chat-client (its for a black-board of sorts).
Is there a way around this, since its crucial for my application?
Swedish letters in config.xml?
Oh, ok, I just assumed it was saved in UTF-8 since UTF-8 was stated in the first xml-line
No, apparently I had saved it from Flash using "Default Encoding".
I tried saving it as "UTF-8", but now ended up with another problem:
the server does not start correctly
The error-message is:
Problems in config file: Invalid input: `´[some strange symbols] <0xfeff>, SystemID=´file:.´, Line=1
But saving it as "Default Encoding" works fine, though.
Any ideas?
No, apparently I had saved it from Flash using "Default Encoding".
I tried saving it as "UTF-8", but now ended up with another problem:
the server does not start correctly
The error-message is:
Problems in config file: Invalid input: `´[some strange symbols] <0xfeff>, SystemID=´file:.´, Line=1
But saving it as "Default Encoding" works fine, though.
Any ideas?
I tried Notepad++. Great editor, btw.
I saved the config.xml as UTF-8, and I got the problem described above.
Could it be that some sort of (invisible to the texteditors) character has inserted itself at the beginning of the file, since it says something like "invalid character at line 1"?
When saving as UTF-8 (without BOM) the config.xml-file worked, but still replaced swedish characters with null.
I saved the config.xml as UTF-8, and I got the problem described above.
Could it be that some sort of (invisible to the texteditors) character has inserted itself at the beginning of the file, since it says something like "invalid character at line 1"?
When saving as UTF-8 (without BOM) the config.xml-file worked, but still replaced swedish characters with null.
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 94 guests