TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 17, 2024, 03:56:59 AM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 59
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 47
  • Total: 47

TinyPortal v1.0 beta 3 charset problem

Started by samo_zin123, April 04, 2009, 09:05:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samo_zin123

 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 ?

bloc


samo_zin123

#2
 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 ?