TinyPortal

Development => International => Topic started by: samo_zin123 on April 04, 2009, 09:05:28 AM

Title: TinyPortal v1.0 beta 3 charset problem
Post by: samo_zin123 on April 04, 2009, 09:05:28 AM
 hello guys  i got an arabic TP/smf website  i upgrated the the tp to TinyPortal v1.0 beta 3  but

===> the articles are displayed with adifferent charset only articles page

the whole forum working with charset=windows-1256"
it displays the  on the frontpage very well  but when i click on the article to read more about it  the  rest of the articles displayed with strange letters ( only articles body)
looks like iam using in charset=windows-1256"  in my forum and tp depends on utf-8
so .....
anybody  tells how fix this problem ?
Title: Re: TinyPortal v1.0 beta 3 chaset problem
Post by: bloc on April 04, 2009, 11:11:40 AM
Do you have a link? If need be, in PM.
Title: Re: TinyPortal v1.0 beta 3 chaset problem
Post by: samo_zin123 on April 04, 2009, 12:15:08 PM
 i found this code
mysql_query("ALTER TABLE `{$tp_prefix}articles` DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci") or die('table could not be updated');

in tp_install.php
is that what made  my problem ?