Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Multi-language support
Old 10-08-2008, 01:38 AM Multi-language support
Novice Talker

Posts: 12
Trades: 0
Hi!
I have a script that cames translated in a lot of languages (osdate is the name). I've installed them all in my database.
The problem is when I switch the language it shows only characters like [][][][][][][][] or ?????????? for lang. like Russian, Chinese, Greek etc.
I've wrote to their forum and the final suggestion was to check php to see if I have multi language support
I have no ideea what they meant. I kin of noob when it cames to php.
I'd appreciate some advices on this.
You probably should know: the sites are installed on an Ubuntu server, the php version is 5, Apache 2.2.8 ... can't think of something else.
So where and how to enable this multi language support?
Thank you!
__________________

Please login or register to view this content. Registration is FREE
wattaman is offline
Reply With Quote
View Public Profile Visit wattaman's homepage!
 
 
Register now for full access!
Old 10-08-2008, 02:56 AM Re: Multi-language support
mtishetsky's Avatar
King Spam Talker

Posts: 1,226
Name: Mike
Location: Mataro, Spain
Trades: 0
If you see squares instead of letters (usually this happens with chinese, korean and japanese text) then you most probably do not have corresponding encoding supported on CLIENT (on your computer, not on the server). Question signs mean the opposite - you have something configured wrong on the server.

Language support on client may be performed through Control panel -> Languages or something, I don't know how it is named in English windoze.

To fix the problem with question marks you should ensure that
1) your data is stored in UTF-8
2) your pages are sent with UTF-8 encoding and UTF-8 header
3) new data is coming from outside also in UTF-8

If you don't know what is encoding, google a lot until you understand it clearly.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

And don't forget to give me talkupation!
mtishetsky is offline
Reply With Quote
View Public Profile Visit mtishetsky's homepage!
 
Reply     « Reply to Multi-language support
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11299 seconds with 12 queries