Ticket #13 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

富文本格式(HTML)的节点,中文依然是编码过的,不能直接识别

Reported by: Liuxun Owned by: jiangxin
Priority: major Milestone: 0.9.0~rc1-0.17~mmx
Component: FreeMind OSSXP Enhancement Version:
Keywords: Cc:

Description (last modified by jiangxin) (diff)

将中文字符以 UTF8 编码保存在 filename.mm 文件中,而不是 &#HEX; 格式的编码。

并没有处理带HTML格式的长节点及注解吧?再努一把力,把这个搞定就好了……

参见:

http://whodo.worldhello.net/wiki/Talk:FreeMind

— Liuxun 01:56 2008年8月1日 (CST)

Change History

comment:1 Changed 4 years ago by jiangxin

  • description modified (diff) changed from > 将中文字符以 UTF8 编码保存在 filename.mm 文件中,而不是 &#HEX; 格式的编码。 并没有处理带HTML格式的长节点及注解吧?再努一把力,把这个搞定就好了…… -- Liuxun 01:56 2008年8月1日 (CST) to > 将中文字符以 UTF8 编码保存在 filename.mm 文件中,而不是 &#HEX; 格式的编码。 并没有处理带HTML格式的长节点及注解吧?再努一把力,把这个搞定就好了…… 参见: http://whodo.worldhello.net/wiki/Talk:FreeMind -- Liuxun 01:56 2008年8月1日 (CST)

comment:2 Changed 4 years ago by Jiang Xin <worldhello.net AT gmail DOT com>

(In [48]) See #13: Do not encode Chinese character in HTML node.

comment:3 Changed 4 years ago by Jiang Xin <worldhello.net AT gmail DOT com>

(In [49]) See #13: Another place may also affect HTML node character encode.

comment:4 Changed 4 years ago by Jiang Xin <worldhello.net AT gmail DOT com>

  • status changed from new to closed
  • resolution set to fixed

(In [50]) Fix #13: In XHTMLWriter.html2xhtml a system call converted Chinese character.
So only one possible resolution: convert encoded entities back to utf-8
character. unescape_utf8 does the reverse conversion.

Note: See TracTickets for help on using tickets.