[imp] Problem of wrapping multi-byte body.

Jinhyok Heo novembre+dated+1116339918.5cd529 at ournature.org
Thu May 12 07:31:13 PDT 2005


On 12 May 2005, Jinhyok Heo wrote:

> On 12 May 2005, Michael M. Slusarz wrote:
>
>> Quoting Jinhyok Heo
>> <novembre+dated+1116295937.1f4d48 at ournature.org>:
>>> Is there any patch to fix it, yet?
>>
>> Yes - you need to use HEAD though.
>
> The difference between the HEAD and the latest release is not small
> and it seems not an small job to fix the error with codes from the
> HEAD.
>
> Anyone has a simpler way to fix it?
>
> Or, I could just turn off the wrapping. Just setting the value of
> $_prefs['wrap_width'] to 0 causes wrapping on every word and doesn't
> stop wrapping. Can I turn it off safely somewhere?

I just found where I should change to turn off the wrapping. I simply
added "if($length == 0) return $text;" at the head of String::wrap().

-- 
Jinhyok (novembre @ ournature.org)
- Green Review Readers http://ournature.org/
- Centre for Energy Alternative http://energyvision.org/


More information about the imp mailing list