|
#1
|
|||
|
|||
Language in source
I can't type Thai Language in my tracker using TBDev 1.7 based on netmaniack
Like the picture above. |
#2
|
||||
|
||||
Character set
You need to change the character set on bittorrent.php to allow use of particular lanuages - its in the stdhead block - header .. blah blah
|
#3
|
||||
|
||||
In bittorrent.php search for:
PHP Code:
PHP Code:
PHP Code:
__________________
PHP Code:
|
#4
|
|||
|
|||
Yeah I have also problems by adjusting the language. I already try all but still refuses to recognize me
|
#5
|
||||
|
||||
i dont know what languages there are used in so i couldnt tell you exactly what charset it required ...
however try using Code:
header("Content-Type: text/html; charset=utf-8"); |
#6
|
|||
|
|||
Quote:
Screen: I have to be in the poll specifically set the language? |
#7
|
||||
|
||||
this could be something specific to your database.
go to your database structure and you should be able to change the collation of your tables. login to phpmyadmin > click database > click operations tab > at bottom is teh collation change i think its at the bottom of the collation list is the utf8 stuff .. first try to find a utf8 charset that specifys the language you wanna use i.e. UTF8_swedish_ci for swedish chars .. if you cant find one try utf8_unicode and if that fails possibly utf8_bin might work (not sure what that is so its a hit and miss on teh bin one) ------------------- if that fails you may have to click the polls table and set each collation on each field separately Last edited by djlee; 9th November 2008 at 03:27. |
The Following User Says Thank You to djlee For This Useful Post: | ||
H3T87 (10th November 2008)
|
#8
|
|||
|
|||
i have the same problem too ,
in my language , i change function "htmlentities" to "htmlspecialchars" somewhere in your poll.php ,have a try~ |
#9
|
||||
|
||||
well then change it back to entities .. specialchars will only encode "special" characters like ampersand and quotes whereas entities will encode EVERYTHING. entities is useful for sending characters to the browser in an entity form rather than byte code. generally this is only ever needed when you set the wrong charset in the header of the page or in the database.
so as a quick fix just change it back to entities ... if you want to try and leave it as specialchars then make sure that the database collation including all fields and tables allow the charset of your language (i.e. latin_swedish_ci or wateva it is) and ofcourse make sure the charset required is set in the head tags of the page in the stdhead() function |
Tags |
language , source |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
multi language mod | Nw0nkNu | Community Cafe | 0 | 13th April 2010 08:36 |
functions.php language | oleg0303 | Yuna Scatari Edition (YSE) | 1 | 10th March 2010 12:48 |
Change Language...(need Help) | xviperx1989 | Torrent Strike | 0 | 18th September 2009 15:31 |
German Language | bit4you | Yuna Scatari Edition (YSE) | 1 | 12th February 2009 21:43 |
language error | Rockstarinsh | Yuna Scatari Edition (YSE) | 1 | 12th January 2009 02:23 |