1 (edited by Solovey 2008-08-09 17:33)

Topic: UTF-8 Language Packs - Done!

big_smile

Re: UTF-8 Language Packs - Done!

Your menu at http://intdn.com/idn/index.php has some issues with IE7.

It only shows a link cursor when you hover the bottom of the LI.

3 (edited by Solovey 2008-01-19 06:35)

Re: UTF-8 Language Packs - Done!

Thanks! Changed.

Re: UTF-8 Language Packs - Done!

Whats the right way for these to be included in the main download page?

Re: UTF-8 Language Packs - Done!

As much as I appreciate your work, since PunBB 1.2 does not properly support UTF-8, I don't believe we will be adding these to the download page. PunBB 1.3 on the other hand, which is coming shortly, supports UTF-8 out of the box.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: UTF-8 Language Packs - Done!

We've heard "shortly" many times.

Welcome to my WoW guild site, the Eternal Reach.

You can also visit Chita, a site built by me, a feral paradise for feline animals.

7 (edited by Solovey 2008-01-21 13:56)

Re: UTF-8 Language Packs - Done!

Rickard wrote:

As much as I appreciate your work, since PunBB 1.2 does not properly support UTF-8, I don't believe we will be adding these to the download page. PunBB 1.3 on the other hand, which is coming shortly, supports UTF-8 out of the box.

Well, you've got *some* 1.2 language packs available for download in utf-8, and not others, so I don't really see what the issue is here.

8

Re: UTF-8 Language Packs - Done!

Is any quick fix avaialable to to add the unicode char in the english setting. I am able to see the words properly when we use the same language but if i change the language then the previous post in other  language looks in unreadable format. Is there anyway so it can show it in proper way?

9 (edited by Solovey 2008-02-25 17:34)

Re: UTF-8 Language Packs - Done!

vigya wrote:

Is any quick fix avaialable to to add the unicode char in the english setting. I am able to see the words properly when we use the same language but if i change the language then the previous post in other  language looks in unreadable format. Is there anyway so it can show it in proper way?

1. Fresh install.
2. Install English utf-8 language pack.
2. Install other language packs.

The English utf-8 language pack is available on the same download page as the others.

Edit: See next post.

Re: UTF-8 Language Packs - Done!

Solovey: It's more than that or you're likely to have issues wink

11 (edited by Solovey 2008-02-25 17:30)

Re: UTF-8 Language Packs - Done!

Now updated fresh punbb-1.2.17 release with UTF-8 suport enabled:

punbb-1.2.17+utf-8+1.0.zip

Creates fresh utf-8 enabled databases. Fixes search index and other misc errors related to unicode. Requires mbstring.

WHAT WAS CHANGED IN THIS UTF-8 VERSION:

Guided by the UTF-8 FAQ http://punbb.ru/viewtopic.php?id=1222
the following has been changed from the official version of PunBB:

Requirements: mbstring extension must be enabled in php setup.
http://www.php.net/mbstring

1. Default English language pack changed to utf-8.

2. All cases of strlen, strtolower, strtoupper changed to mb_strlen, mb_strtolower, mb_strtoupper, except in function pun_strlen in functions.php to support unicode text functions.

3. Optional multibyte searching turned off in seach.php because regular search with indexing now supports unicode.

4. search_words.word field changed from 20 to 200 to accomodate longer length of words required by unicode, updated in install.php.
Fixes this issue:
Indexing is not unicode-safe:
http://forums.punbb.org/viewtopic.php?id=4509

5. search_idx.php updated to accomodate 200 length of search words.

6. install.php updated to force creation of utf8 tables in initial database creation.

7. Known issues: Chinese and other language with no spaces between words are still an issue. More work in include/search_idx.php needs to be done to support this.