TinyPortal

Development => Support => Topic started by: SniffTheGlove on September 09, 2006, 09:22:52 AM

Title: Latin1 and UTF8 problem
Post by: SniffTheGlove on September 09, 2006, 09:22:52 AM
Hi,
A potential problem.

Just loaded a fresh new copy of SMF 1.1RC3 and set for UTF8 during setp.

Loaded first mod (TP0.95) and it installed OK. It asked to restart the forum, and by clicking that link I got the following
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='
Title: Re: Latin1 and UTF8 problem
Post by: elpvn on September 09, 2006, 09:25:49 AM
Yes, me too

SMF 1.1 RC3 good support for UTF-8 but now TP 0.95 is not

I must re back with option: not use UTF-8 in my SMF 1.1RC3  :buck2:

Hope it be fine on v.1.0

Note: I'd love two options that SMF offer before install  :)
Title: Re: Latin1 and UTF8 problem
Post by: bloc on September 09, 2006, 11:34:46 AM
I will look into the utf-8 issues. It probably means the TP databse tables need converting.
Title: Re: Latin1 and UTF8 problem
Post by: SniffTheGlove on September 09, 2006, 12:03:26 PM
Thanks Bloc,

If there is no difference in the coding of TP for Latin1/UTF8 I can manually convert the tables to UTF8.

I'll have  ago and report back if it works OK.
Title: Re: Latin1 and UTF8 problem
Post by: SniffTheGlove on September 09, 2006, 12:12:47 PM
I exported the smf_tp tables via phpmyadmin, changed the latin1 collation to utf8 and then imported the tables (overwriting) back in.

The SMF/TP Portal is now working, at least I get the front page.

All depends now if there is an coding differences between the two collations.

PS,
Be waiting ages for 0.95 to appear. Thanks goes to you Bloc and the other developers.