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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 360
  • Total: 360

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 ?

This website is proudly hosted on Crocweb Cloud Website Hosting.