subhunissi / google-blog-converters-appengine

Automatically exported from code.google.com/p/google-blog-converters-appengine
Apache License 2.0
0 stars 0 forks source link

movabletype2blogger has problem on japanese #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use Japanese on MovableType.
2. MovableType export file.
3. Do MovableType2Blogger.
4. Do import converted file at Blogger.

Sorry,I'm not good at English.

Patch for this problem

file:mt2b.py
line:299-300

 original:
   def _Encode(self, content):
     return unicode(content, errors='ignore')

 patched:
   def _Encode(self, content):
     return content.encode("utf_8")

Original issue reported on code.google.com by y...@shukukei.com on 10 Jan 2009 at 4:08

GoogleCodeExporter commented 9 years ago
Thanks for the patch.  I'll add it to the next round of changes and tests.

Original comment by jlu...@gmail.com on 10 Jan 2009 at 7:38

GoogleCodeExporter commented 9 years ago

Original comment by jlu...@gmail.com on 10 Jan 2009 at 7:39

GoogleCodeExporter commented 9 years ago
This change has been checked in and tested.  It will be part of the next release
(coming soon).

Original comment by jlu...@gmail.com on 13 Jan 2009 at 6:24