When i try to change area names in config.xml to hebraw charecters i get this in the area list.
How can i make it show the letters correctly?
israely charecters not showing properly
Re: israely charecters not showing properly
Hi,
have you tried printing them in the Flash console to see if they show up correctly?
What are those by the way? User names?
Thanks
have you tried printing them in the Flash console to see if they show up correctly?
What are those by the way? User names?
Thanks
Re: israely charecters not showing properly
those are room names in avatarchat example
how can i print them in the Flash console so i can see if they show up correctly?
i need the as2 code and where to put it.
i am using smartfoxserverpro.
usernames show correctly in hebraw.
the hebraw text in the image doesnt mean something it is just gibberish.
how can i print them in the Flash console so i can see if they show up correctly?
i need the as2 code and where to put it.
i am using smartfoxserverpro.
usernames show correctly in hebraw.
the hebraw text in the image doesnt mean something it is just gibberish.
Re: israely charecters not showing properly
Hi
make sure the .xml files are saved in UTF-8 mode, otherwise hebrew characters will not show correctly.
Hope it helps
make sure the .xml files are saved in UTF-8 mode, otherwise hebrew characters will not show correctly.
Hope it helps
Re: israely charecters not showing properly
well i changed it to utf 8 format and when i tried openning the server this happend
cmd output:
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
| |
| ...::: SmartFoxServer :::... |
| Multiplayer Socket Server |
| version 1.6.6 |
| --- |
| (c) 2004 - 2009 gotoAndPlay() |
| http://www.smartfoxserver.com |
| http://www.gotoandplay.it |
| |
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
Invalid input: `' (0xfeff), SystemID='file:.', Line=1
at net.n3.nanoxml.XMLUtil.errorInvalidInput(XMLUtil.java:518)
at net.n3.nanoxml.StdXMLParser.scanData(StdXMLParser.java:245)
at net.n3.nanoxml.StdXMLParser.parse(StdXMLParser.java:203)
at it.gotoandplay.smartfoxserver.lib.ConfigReader.readCfgFile(ConfigReader.java:117)
at it.gotoandplay.smartfoxserver.lib.ConfigReader.readServerConfig(ConfigReader.java:125)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:566)
Problems in config file: Invalid input: `' (0xfeff), SystemID='file:.', Line=1
it.gotoandplay.smartfoxserver.exceptions.ConfigurationException: Invalid input: `' (0xfeff), SystemID='file:.', Line=1
at it.gotoandplay.smartfoxserver.lib.ConfigReader.readServerConfig(ConfigReader.java:149)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:566)
Errors found in configuration files.
Unable to start the server.
Shutting down server...
when I change the format back to ANSI the server doesn't give me errors and works perfectly.
any fixes?
in case you need the config.xml in order to fix the problem and give it back to me here is a link:
https://f2h.io/341ek7xax5ds
in case you need to change the language in f2h there is a globe icon up top hover over it and click the appropriate language
cmd output:
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
| |
| ...::: SmartFoxServer :::... |
| Multiplayer Socket Server |
| version 1.6.6 |
| --- |
| (c) 2004 - 2009 gotoAndPlay() |
| http://www.smartfoxserver.com |
| http://www.gotoandplay.it |
| |
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
Invalid input: `' (0xfeff), SystemID='file:.', Line=1
at net.n3.nanoxml.XMLUtil.errorInvalidInput(XMLUtil.java:518)
at net.n3.nanoxml.StdXMLParser.scanData(StdXMLParser.java:245)
at net.n3.nanoxml.StdXMLParser.parse(StdXMLParser.java:203)
at it.gotoandplay.smartfoxserver.lib.ConfigReader.readCfgFile(ConfigReader.java:117)
at it.gotoandplay.smartfoxserver.lib.ConfigReader.readServerConfig(ConfigReader.java:125)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:566)
Problems in config file: Invalid input: `' (0xfeff), SystemID='file:.', Line=1
it.gotoandplay.smartfoxserver.exceptions.ConfigurationException: Invalid input: `' (0xfeff), SystemID='file:.', Line=1
at it.gotoandplay.smartfoxserver.lib.ConfigReader.readServerConfig(ConfigReader.java:149)
at it.gotoandplay.smartfoxserver.SmartFoxServer.run(SmartFoxServer.java:566)
Errors found in configuration files.
Unable to start the server.
Shutting down server...
when I change the format back to ANSI the server doesn't give me errors and works perfectly.
any fixes?
in case you need the config.xml in order to fix the problem and give it back to me here is a link:
https://f2h.io/341ek7xax5ds
in case you need to change the language in f2h there is a globe icon up top hover over it and click the appropriate language
Re: israely charecters not showing properly
Hi,
the file you have uploaded is saved in "UTF-8 with BOM". This is what causes the error.
Try and save the file as just UTF-8, or UTF-8 no BOM, it will fix the problem.
If you want to learn more:
https://en.wikipedia.org/wiki/Byte_order_mark
Cheers
the file you have uploaded is saved in "UTF-8 with BOM". This is what causes the error.
Try and save the file as just UTF-8, or UTF-8 no BOM, it will fix the problem.
If you want to learn more:
https://en.wikipedia.org/wiki/Byte_order_mark
Cheers
Re: israely charecters not showing properly
it works thank you can close this topic
for people who have this problem download notepad++ open it and In the top menu select Encoding > Convert to UTF-8
press ctrl+s or click floppy drive icon and run the server again.
I used regular notepad so it didn't work
regular notepad means it came with windows.
for people who have this problem download notepad++ open it and In the top menu select Encoding > Convert to UTF-8
press ctrl+s or click floppy drive icon and run the server again.
I used regular notepad so it didn't work
regular notepad means it came with windows.
Re: israely charecters not showing properly
Yes, Notepad++ is a good all-purpose editor for Windows.
If you're on Mac you can download TextWrangler.
Cheers
If you're on Mac you can download TextWrangler.
Cheers
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: Baidu [Spider] and 65 guests