Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

How to decode chinese characters for extension translation? (*.i18n.php)

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


echalone at hotmail

Jun 25, 2008, 3:21 PM

Post #1 of 2 (399 views)
Permalink
How to decode chinese characters for extension translation? (*.i18n.php)

Hi there!

I have written the WikiTimeLine extension and a nice user has translated the interface to chinese. But now I have a problem: How do I translate those chinese signs into ANSI Text characters for the wikitimeline.i18n.php message storage file? I have seen that Wikipedia splits those signs into ANSI characters, but I haven't found any way to decode those chinese signs!

Any possible way in php and/or javascript would be ok, I can quickly program such a little helping tool... I just don't know how. I have tried a bit around, but I didn't found the right way to do.

Can somebody please help?

thanks,
Markus Szumovski
_________________________________________________________________
Es ist höchste Zeit dabei zu sein - Holen Sie sich jetzt die neue Generation der Windows Live Services!
http://get.live.com/
_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Simetrical+wikilist at gmail

Jun 25, 2008, 3:29 PM

Post #2 of 2 (371 views)
Permalink
Re: How to decode chinese characters for extension translation? (*.i18n.php) [In reply to]

On Wed, Jun 25, 2008 at 6:21 PM, M Sz <echalone [at] hotmail> wrote:
> Hi there!
>
> I have written the WikiTimeLine extension and a nice user has translated the interface to chinese. But now I have a problem: How do I translate those chinese signs into ANSI Text characters for the wikitimeline.i18n.php message storage file? I have seen that Wikipedia splits those signs into ANSI characters, but I haven't found any way to decode those chinese signs!
>
> Any possible way in php and/or javascript would be ok, I can quickly program such a little helping tool... I just don't know how. I have tried a bit around, but I didn't found the right way to do.

All MediaWiki files use UTF-8 encoding, not ANSI. If you're using
UTF-8-capable programs, you should be able to just copy and paste into
the files and save. If you're using some trash like Notepad, that may
not work correctly.

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.