textwrap garbles utf8 messages.
Bug #1078974 reported by
KURASHIKI Satoru
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
editmoin |
New
|
Undecided
|
Unassigned |
Bug Description
hi,
editmoin gets server replies, and modify it to generate header area.
I get garbled header lines when I use moin with Japanese (it uses utf-8, but editmoin assumes ascii only?).
Workaround below:
if self.status is not None:
- text = self.status.
+ text = self.status.
lines = textwrap.wrap(text, 70,
for line in lines:
- file.write(
+ file.write(
regards,
To post a comment you must log in.