Multibyte character set and wordwrap in IPB
Invision Power Board or IPB is one of the most widely used webboard software in Thailand because of its powerfulness and addons. Personally, I have never used it by myself. Anyway, my friend really loves it. Today he asked me to help install IPB on a CentOS machine. Everything went so smooth. As you might guess, the purpose of that webboard is to host a community in Thailand to talk about something in Thai language. The version of that IPB is 2.0.2. He found a problem when posting in Thai language so He tried to fix the problem by changing character set to UTF-8 according to a good guide. Unfortunately, the problem still exists.
He also noticed that the problem gone when he added newline characters to make each line shorter. I guessed that IPB should be trying to wrap long line by a newline. However, this approach does not work with multibyte characters like UTF-8. As a result, some character will be splitted into 2 lines.
Anyway, it is possible to deactivate this feature by entering the ACP and following below link.
ACP -> TOOLS & SETTINGS -> Topics, Posts and Polls
Then find No. characters to word wrap on?
and set its value to 0
. The problem has gone. Note that the default character set is ISO-8859-1 but the real value is stored in UTF-8. In other words, you will get this wrap error even you don't use UTF-8. If your character set may compose by multibyte character, you should deactivate this feature.
Tags: character set, ipb
- sugree's blog
- 81553 reads
Hey! where to buy cheap " High Love"???
Hello All
Good day.
Какие часы лучше, помогите
Украли мои интим фотки и выложили в инете
Hi everybody
Помогите найти друга!
Subject2
Привет всем посетителям форума
Нашла мои интим фото в инете
Post new comment