Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#238487 - 08/04/10 07:34 PM UTF-8 conversion
canecutter Offline
journeyman
Registered: 06/26/06
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?
Top
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."
#238488 - 08/04/10 07:47 PM Re: UTF-8 conversion [Re: canecutter]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: 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.
Top
#238489 - 08/04/10 10:28 PM Re: UTF-8 conversion [Re: Rick]
canecutter Offline
journeyman
Registered: 06/26/06
Posts: 80
Thanks for the quick response. I will see if we can come up with another solution.
Top
#248579 - 03/02/12 03:54 AM Re: UTF-8 conversion [Re: canecutter]
mmem700 Offline
newbie
Registered: 06/27/08
Posts: 35
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
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image