-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Messages & Shoutbox #12
Comments
Hi have you set in apache2 a default charset? |
Hi, I'm using the default Apache configuration that comes with CentOS 6.6, however searching for charset in /etc/httpd/conf/httpd.conf I've found this directive:
|
Hi i set now in /etc/apache2/conf.d/charset the default to UTF-8 |
Hmmm, this could be an issue of the support center code. However, it's the only point where umlauts aren't displayed correctly? Please check everywhere in the game (messages, ships, auction and so on), so we can address the bug completely. |
Ok i do it. |
Hi |
The shoutbox wasn't ok after you changed apache config? |
On test with adddefaultcharset both are working. messages and shoutbox. |
Hmm, I think the "bug" isn't in the shoutbox but in the other part of the code. Charset should be UTF-8, it's almost the standard now. Update, this is hard to reproduce, on my machine:
everything works fine. I've tested characters with umlauts on:
without any problems. |
Is a strange thig. |
Do you mean in the HTML code generated by the game? Let me know if changing it could solve the issue. |
You can see it on UI/index.php line 104. |
Hello, I see, maybe it should be changed to UTF-8? Besides I've found a couple a lines below another little bug, content language should be variable depending upon the language detected by the browser. |
Hello, which race does show that characters? |
Hi Race are federation |
Hello, Federation? I was pretty sure all the umlauts where translated with the corresponding HTML code. Update: I've made some research, I was remembering correctly: umlauts in federation race are all translated into HTML code. There is for sure a bug between lines 458-497 in module researchlabs.PHP when it try to truncate names longer then 18 chars. |
Hello, I should have found a solution, try to change line 465 in researchlabs.php from:
to:
It should works as expected, let me know if it works for you. |
Hi i found the way to use umlauts. |
Hi, If you're running only STFC, probably the second solution is the easier. :) However I think umlauts should be translated in HTML counterparts. |
Hi yes i using the php.ini way. but i look in to it to change the meta of the files to utf-8 if i have time... |
OK, let me know any further development. |
Hello @Caberhagen can we consider closed this issue? Thank you. |
Hi
Found a problem on shoutbox and messages.
If the text have ä, ö and ü inside. The text are not showing. (not saved)
The text was updated successfully, but these errors were encountered: