Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (mmkk), 55 guests, and 398 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
isaac
isaac
California
Posts: 1,004
Joined: April 2004
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 18
M4TT 12
FREAK 9
Ruben 8
isaac 4
mmkk 4
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
UTF-8 conversion #238487
08/04/10 06:34 PM
08/04/10 06:34 PM
Joined: Jun 2006
Posts: 80
C
canecutter Offline OP
journeyman
canecutter  Offline OP
journeyman
C
Joined: Jun 2006
Posts: 80
Hi

We have a script that automatically add updates from Facebook as a post in UBB. The programmer who did the script encountered a problem. The data from the facebook posts is in UTF-8 encoding whilst UBB displays ISO/IEC 8859-1 encoding which is causing some posts to display wrong characters. I am being asked if I can cover UBB to UTF-8. Is that possible? Can it be done for 1 forum only? What are the drawbacks? What will happen to the past posts?

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: UTF-8 conversion [Re: canecutter] #238488
08/04/10 06:47 PM
08/04/10 06:47 PM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
It's a pretty big process to convert the database to utf-8 but one we're doing for version 8. You might be able to get away with just changing the charset in the languages/english/generic.php to utf-8 and see if that works for you. Side effects might be some multi-byte characters not displaying properly.

Re: UTF-8 conversion [Re: Rick] #238489
08/04/10 09:28 PM
08/04/10 09:28 PM
Joined: Jun 2006
Posts: 80
C
canecutter Offline OP
journeyman
canecutter  Offline OP
journeyman
C
Joined: Jun 2006
Posts: 80
Thanks for the quick response. I will see if we can come up with another solution.

Re: UTF-8 conversion [Re: canecutter] #248579
03/02/12 03:54 AM
03/02/12 03:54 AM
Joined: Jun 2008
Posts: 36
M
mmem700 Offline
newbie
mmem700  Offline
newbie
M
Joined: Jun 2008
Posts: 36
Newer versions of Apache default to using character set utf8 instead of 8851-1.

For many, the quick fix after migration to a newer server is to edit this file:

ubbthreads/languages/english/generic.php

and update this:

$ubbt_lang['CHARSET'] = "UTF-8";

to this:

$ubbt_lang['CHARSET'] = "8859-1";


Today they call you "crazy".
Tomorrow they call you "ahead of your time".

OrbisVitae.com
GlobalSkywatch.com

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,544
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)