Previous Thread
Next Thread
Print Thread
Hop To
Charset Trouble, need some hints / help
#258846 12/27/2016 12:13 PM
Joined: Jun 2006
Posts: 30
Newbie
OP Offline
Newbie
Joined: Jun 2006
Posts: 30
Hi together,

i was trying to fix some display errors with the German ü ä ö ß Ü Ä Ö and € signs in my forum but actually i run out of ideas to fix all myself.

As you see the Information which came from the same source is displayed in a different way, the text in the Colum "Last Post" has the charset trouble:

[Linked Image from viermalvier.de]

The source text in the header is ok:
[Linked Image from viermalvier.de]

At the backend and in the user menu i have the same issue:

[Linked Image from viermalvier.de]

[Linked Image from viermalvier.de]

Here some basic informations about my installation:
Website www.viermalvier.de
online since 1999

Server Info
Server Type Linux
Server Load 0.17
Web Server Apache
PHP Version 5.6.29
MySQL Version 5.1.73-1+deb6u1
Database Size 1.06 GB

Content
Foren gesamt: 36
Themen gesamt: 40381
Beiträge gesamt: 620534

Thanks 4 support

Re: Charset Trouble, need some hints / help
Landyphil #258847 12/27/2016 1:42 PM
Joined: Apr 2004
Posts: 1,719
Likes: 64
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,719
Likes: 64
<meta charset="UTF-8" /> is probably causing your German language issues
This happens when you have several posts stored within your database as "ISO-8859-1" and then attempt to display them as "UTF-8."

The simple solution would be to revert your page charset header code from "UTF-8" back to "ISO-8859-1"

Instructions are at:
https://www.ubbcentral.com/forums/ubbthreads.php/topics/256672/re-what-could-this-be#Post256672

If you are starting a brand new forum installation, its recommended to begin with UTF-8.
But if you already have a forum in a non-English language which has been running for several years, you should probably stick with the older "ISO-8859-1" charset.

There is a known "issue" within the 7.5.9 upgrader script which automatically updates your charset language string to "UTF-8". For most sites, this is a non-issue. But this may cause an issue for sites that are non-English, or where users choose to type up their documents in older/obsolete versions of Microsoft Word, then copy-paste to their posts.


Current developer of UBB.threads PHP Forum Software // 7.7.4 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: Charset Trouble, need some hints / help
Landyphil #258848 12/27/2016 2:31 PM
Joined: Jun 2006
Posts: 30
Newbie
OP Offline
Newbie
Joined: Jun 2006
Posts: 30
Thank You Isaac 4 the quick answer.
While following your instructions I just get stucked at Step 3

1. Go to: Control Panel » Languages
2. Click on the "Language Editor" tab.
3. In the "Search String" field, type "UTF-8" and press "Go" button.

The result is a Blanc page, even a view in the source text is not really informative, there is nothing written?

Sorry for the mess...

Re: Charset Trouble, need some hints / help
Landyphil #258849 12/27/2016 2:40 PM
Joined: Apr 2004
Posts: 1,719
Likes: 64
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,719
Likes: 64
Keep the other fields as their default.
Then enter "utf-8" as showing in the 1st screenshot attached to this post. The case of your search string does not matter -- it's case-insensitive smile

2nd screenshot shows what should be in your results.
click on the "Edit" link next to "generic.php"

3rd screenshot shows in RED, the item you should revert back to what your previous character set was. Enter "ISO-8859-1" in this field. Then press the "Update Language File" button at the bottom (it doesnt matter which of the two buttons you click. they both do the same thing.)

Attached Files
20161227_10-34-23.PNG 20161227_10-36-12.PNG 20161227_10-37-20.PNG

Current developer of UBB.threads PHP Forum Software // 7.7.4 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: Charset Trouble, need some hints / help
Landyphil #258850 12/27/2016 2:45 PM
Joined: Apr 2004
Posts: 1,719
Likes: 64
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,719
Likes: 64
As an alternate to the instructions posted above, If you have ftp access to your site files, you could directly edit the language file.

IN:
/languages/english/generic.php

FIND (near the top):
$ubbt_lang['CHARSET'] = "utf-8";

REPLACE WITH:
$ubbt_lang['CHARSET'] = "ISO-8859-1";


If you have language files other than "english" which you actively use, repeat this with each one of those.


Current developer of UBB.threads PHP Forum Software // 7.7.4 released!
isaac @ id242.com // my forum @ CelicaHobby.com

Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Disaster!!! Files became empty.. Please advise.
by Morgan - 07/27/2020 2:38 PM
Unable to Update Censor List
by BOTCuser - 07/22/2020 9:15 AM
7.7.4 error on rebuilders
by Ruben - 07/21/2020 3:06 PM
[STOCK] UBB.threads Group Image Pack
by isaac - 07/19/2020 9:03 PM
Who's Online Now
2 members (AED Advocates, Gizmo), 74 guests, and 89 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20200807)