Reply New Topic
2008/5/1 2:50:27
#1
Offline
Home away from home

[HOWTO] Convert old ISO to UTF-8 for ICMS 1.1

How to convert old and unmaintained translations from ISO to Unicode UTF-8*

* UTF-8 without Byte of Mark

1. U need editor like NotePad Plus, u can get it from http://notepad-plus.sourceforge.net/uk/news.php?lang=uk
2. Open the selected file from modules\module-name\language\selected-language\thefile.php

Now press CTRL+A for Select All, then CTRL+C to copy the selection into your clipboard, then pick the drop-down menu format, and select
Encode in UTF-8 without BOM and press CTRL+V to paste it from your clipboard, then save it and re-upload it to your XOOPS 2.2/Impress 1.1 language folder.

BUGS:
If u click by mistake Encode in UTF-8 u will get blank page. OOPS core can't recognize UTF-8 encoded files. You can solve the blank page problem, by repeating the above procedure.

If u do this for XOOPS 2.0.18.1, u will get everything else as symbols on your screen, but not your language :)

If u wanna try this on XCL, feel free to do it and report any results :)

The following procedure works on any XOOPS up to phppp 2.0.17.1, and there is no need to apply "USE MULTIBYTE 1" in your language\global.php.

For OOPSes up to 2.0.17 (from 2.0.7.3), u simply have to set in global.php UTF-8 instead of ISO, and to add to your .htaccess the following line.


PHP_FLAG default_charset UTF-8


Subject Poster Date
     [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 ep98 2008/5/1 2:50:27
       Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 avtx30 2008/5/1 3:14:48
         Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 ep98 2008/5/1 3:20:34
           Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 GibaPhp 2008/5/1 3:38:37
         Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 stranger 2008/5/1 4:14:19
           Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 GibaPhp 2008/5/1 4:23:39
             Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 ep98 2008/5/1 4:41:17
               Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 davidl2 2008/5/1 4:46:01
               Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 GibaPhp 2008/5/1 4:46:02
                 Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 GibaPhp 2008/5/1 6:11:34
                   Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 stranger 2008/5/2 3:34:18
                     Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 GibaPhp 2008/5/2 3:42:57
                     Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 ep98 2008/5/2 4:12:23
                       Re: [HOWTO] Convert old ISO to UTF-8 for ICMS 1.1 GibaPhp 2008/5/3 3:55:58
Reply New Topic extras
 Previous Topic   Next Topic
You can view topic.
You can start a new topic.
You can reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You can post without approval.