u8tf Encoding Problem After upgrade
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexAdd-Ons & Blocks
Author Message
PartyMarty
Heavy poster


Joined: Apr 24, 2005
Posts: 156

PostPost subject: Re: u8tf Encoding Problem After upgrade
Posted: Fri Dec 29, 2006 4:37 pm
Reply with quote

So does that mean I have go through the a search and replace à� with the correct character or is there a function which does this automatically?

PartyMarty's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows_NT/Apache/1.3.33 (Win32) PHP/4.3.10/4.1.9-max/4.3.10/9.0.4.0
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3678
Location: Melbourne, AU

PostPost subject: Re: u8tf Encoding Problem After upgrade
Posted: Fri Dec 29, 2006 6:20 pm
Reply with quote

It does automatically (after you click what you have to click), I do not use that software so I might not be the right person to help you, but as far i know it does a great job converting even huge databases.
_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: u8tf Encoding Problem After upgrade
Posted: Fri Dec 29, 2006 7:48 pm
Reply with quote

I use it and can confirm - UltraEdit is very very good, and does extremely large files very quickly Very Happy
_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
PartyMarty
Heavy poster


Joined: Apr 24, 2005
Posts: 156

PostPost subject: Re: u8tf Encoding Problem After upgrade
Posted: Fri Dec 29, 2006 11:17 pm
Reply with quote

Ok great but can somebody please tell me what I have to do?

PartyMarty's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows_NT/Apache/1.3.33 (Win32) PHP/4.3.10/4.1.9-max/4.3.10/9.0.4.0
Back to top
View user's profile Visit poster's website
sarah
Debugger


Joined: Mar 25, 2005
Posts: 2131

PostPost subject: Re: u8tf Encoding Problem After upgrade
Posted: Sat Dec 30, 2006 12:24 am
Reply with quote

I don't know how to do it with UltraEdit either. I must have done it the hard way, which is as you described above. Find a messed up character, see what it is in the data, replace with the UTF8 appropriate character. Rinse, lather, repeat. I also did it all in phpMyAdmin because my posts text table is big.
_________________
Diagon Alley - Top Design

sarah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.1.21-standard/4.4.4/9.1.1
Back to top
View user's profile Send e-mail Visit poster's website
PartyMarty
Heavy poster


Joined: Apr 24, 2005
Posts: 156

PostPost subject: Re: u8tf Encoding Problem After upgrade
Posted: Sat Dec 30, 2006 12:29 am
Reply with quote

Ya thats what it is looking like on this end to! Can't say I am looking forward to it!

PartyMarty's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows_NT/Apache/1.3.33 (Win32) PHP/4.3.10/4.1.9-max/4.3.10/9.0.4.0
Back to top
View user's profile Visit poster's website
Pazu
Nice poster


Joined: Feb 14, 2005
Posts: 86

PostPost subject: DB Character Set Conversion Woes
Posted: Thu Feb 01, 2007 1:43 pm
Reply with quote

I’m trying to convert a DB to UTF-8. The problem is there are two “encoding” to address in the DB. After reading a couple of Wiki articles here I’m still stumped.

History: the DB was originally started under PHP-Nuke, then migrated to CPG-Nuke, then migrated to Dragonfly.

I’ll describe one example character, the right-single-quote character ’ (Unicode:0093 UTF:C293).

(I tried to paste some of the raw characters here, but they showed up as �. See the attached text file.)

So, the first sequence successfully converts, but the second and third obviously do not.

Is there any hope of normalizing the character set of this misbegotten DB into sane UTF-8?


Pazu's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.17.11-grsechg / Apache 1.3.37 / MySQL 4.1.21-standard / PHP 5.2.1 / Dragonfly 9.1.1
Back to top
View user's profile Visit poster's website
Pazu
Nice poster


Joined: Feb 14, 2005
Posts: 86

PostPost subject: Re: DB Character Set Conversion Woes
Posted: Thu Feb 01, 2007 1:48 pm
Reply with quote

Hm, the text file didn’t attach. Let’s try that again.

Pazu's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.17.11-grsechg / Apache 1.3.37 / MySQL 4.1.21-standard / PHP 5.2.1 / Dragonfly 9.1.1
Back to top
View user's profile Visit poster's website
Pazu
Nice poster


Joined: Feb 14, 2005
Posts: 86

PostPost subject: Re: DB Character Set Conversion Woes
Posted: Thu Feb 01, 2007 1:49 pm
Reply with quote

(FYI, I’m working with PartyMarty on his previously-posted-about DB issues.)

Pazu's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.17.11-grsechg / Apache 1.3.37 / MySQL 4.1.21-standard / PHP 5.2.1 / Dragonfly 9.1.1
Back to top
View user's profile Visit poster's website
GalloiseBlonde
Newbie


Joined: Jan 12, 2006
Posts: 31
Location: France

PostPost subject: Re: u8tf Encoding Problem After upgrade
Posted: Tue Aug 21, 2007 11:38 pm
Reply with quote

I had this exact same problem upgrading from whatever it says below in my profile to 9.1.2.1 and changing utf8 to NULL in the config.php as suggested in this thread fixed it. Thanks for your help.

GalloiseBlonde's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.9-11.ELsmp/Apache 1.3.36 (Unix)/MySQL 4.0.27-standard-log/PHP4.4.2/Dragonfly 9.0.6.1
Back to top
View user's profile Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexAdd-Ons & Blocks All times are GMT
Go to page Previous  1, 2
Page 2 of 2


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.4901 seconds with 16 DB Queries in 0.0659 seconds
Memory Usage: 3.13 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy