Hello,
I'm making a web based server control panel for lfs.
Now I have a problem with the special chars in lfs...
An example:
I want to add • in a server name,
so I open the .cfg file and put • at the "/host=" part
When I saved the config file and start the server, • shows as hostname in lfsworld.
When I open the web config editor it shows : � where the dot should be.
When I replace the � in the config panel with a •, then it reads fine in the control panel.
When I now restart the server, it shows • on lfsworld...
Anyone know how to fix this?
ps: I used fwrite() an fread() to write & read the config files.
I'm making a web based server control panel for lfs.
Now I have a problem with the special chars in lfs...
An example:
I want to add • in a server name,
so I open the .cfg file and put • at the "/host=" part
When I saved the config file and start the server, • shows as hostname in lfsworld.
When I open the web config editor it shows : � where the dot should be.
When I replace the � in the config panel with a •, then it reads fine in the control panel.
When I now restart the server, it shows • on lfsworld...
Anyone know how to fix this?
ps: I used fwrite() an fread() to write & read the config files.