Menu

#4 Problems with character encoding in mminfo.xml

open
nobody
None
5
2007-09-12
2007-09-12
akrawczyk
No

Steps to reproduce:
- start KnowME
- open a kb with german umlauts in mminfo.xml (e.g. kfz2k).
- edit some infos or add some infos
- save
- open saved file

Expected:
Umlauts are encoded correctly
e.g.:
-----------------------------
<Content><![CDATA[Wie verhält sich der Anlasser bei Motorstartversuchen?]]></Content>
-----------------------------

Actual:
Umlauts are NOT encoded correctly
e.g.:
--------------------
<MMInfo>
<DCMarkup>
<DCElement label="DC.SUBJECT"><![CDATA[prompt]]></DCElement>
<DCElement label="DC.RESOURCE_IDENTIFIER" value="MMInfo5"/>
<DCElement label="DC.SOURCE"><![CDATA[Mf10]]></DCElement>
</DCMarkup>
<Content><![CDATA[Wie verhält sich der Anlasser bei Motorstartversuchen?]]></Content>
</MMInfo>
------------------------

Perhaps the problem occurs because of the "ISO-88591" in first line of mminfo.xml
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>

Additional info:
If I add umlauts in basic.xml (e.g. the name of a question the problems will not occur.

Greetings, Andi

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.