DotDragnet
May 24, 2012, 10:41:17 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Mobile users - Our forum is Tapatalk enabled. http://www.tapatalk.com/
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: includes not working in UTF-8 / Chinese  (Read 1093 times)
charlie
Hero Member
*****
Posts: 837



View Profile WWW Awards
« on: August 17, 2007, 12:08:56 PM »

ok ... been working on a new site http://home2.btconnect.com/mission-links/testsite/uktest.php   ... not quite complete but getting there.

I've also got to do a chinese version and thought I'd managed it using utf-8 and saving as unicode. However, despite the only difference being a bit of text I'd changed, the chinese test version hasn't pulled in the menu include file (easymenu)  .. see http://home2.btconnect.com/mission-links/testsite/chinatesttxt.php ... I'm at a complete blank and starting to think the best method is a screen grab of the word doc and display as an image .. far from ideal but could be a solution. I did also find a page that converted chinese text to characters at http://www.pinyin.info/tools/converter/chars2uninumbers.html but that's down now too ...


any thoughts Sad
Logged

JasonD
Global Moderator
Hero Member
*****
Posts: 551



View Profile Awards
« Reply #1 on: August 17, 2007, 12:38:08 PM »

You've saved it as unicode (UTF-16), not UTF-8. The former is not compatible with PHP. Save it again but as UTF-8.
Logged
charlie
Hero Member
*****
Posts: 837



View Profile WWW Awards
« Reply #2 on: August 17, 2007, 01:09:20 PM »

derrrrrr .. cheers :-) >> http://home2.btconnect.com/mission-links/testsite/dwchinatest.php 

Only real pain is that I tend to use htmlkit and it won't paste the characters in direct so having to edit the chinese pages in notepad ... I can live with that though.

Also just noticed there now a gap between the top pics and the menu in the Chinese only for some reason.


ta .. just need to get his translations now.


Charlie
« Last Edit: August 17, 2007, 01:18:41 PM by charlie » Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!