Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
1 registered members (isaac), 42 guests, and 225 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
GregK
GregK
Tombstone, AZ
Posts: 402
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 18
isaac 16
Ruben 14
Morgan 6
M4TT 2
driv 2
Pak 1
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
UTF-8 conversion #238487
08/04/10 07:34 PM
08/04/10 07:34 PM
C
canecutter  Offline OP
journeyman
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 07:47 PM
08/04/10 07:47 PM
R
Rick  Offline
Former Developer
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 10:28 PM
08/04/10 10:28 PM
C
canecutter  Offline OP
journeyman
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 04:54 AM
03/02/12 04:54 AM
M
mmem700  Offline
newbie
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
Geoff
Recent Topics
Upgrade from a really really old version
by Alento. 10/18/18 06:16 PM
Subscription Feature
by M4TT. 10/16/18 09:34 PM
PHP 7.2 compatibility
by Pak. 10/16/18 06:00 PM
UBB.threads 7.7.0 - Progress Reports
by isaac. 10/13/18 09:34 AM
Can't Reply to Global Announcements
by M4TT. 10/06/18 08:29 PM
Forum Statistics
Forums36
Topics35,151
Posts191,512
Members12,109
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2