utf8 err with äöü in richcontent html nodes

2009-06-03
2013-04-11
  • Johannes Busse

    Johannes Busse - 2009-06-03

    I have some mm files generated with fm 090alfa12. There are some html (i.e. richcontent) nodes which presumably stem from copy and paste actions from html pages. All umlauts of such html nodes are represented as utf8 chars (e.g. ä) and not as xml entities (e.g. ä).

    Problem: For freemind doesn't add an xml declaration to the mm file, saxon9 processor complains when postprocessing a mm:

    Error
      com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2
      of 3-byte UTF-8 sequence. Transformation failed: Run-time errors were reported

    Why not add an xml declaration to the .mm file?

    Johannes

    <map version="0.9.0">
    <!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
    <node CREATED="1209479654796" ID="ID_984117465" MODIFIED="1241192060484" TEXT="t2">
    <node CREATED="1244017811859" ID="ID_330480118" MODIFIED="1244017828250" POSITION="right" TEXT="text node with &#xe4; Umlaut"/>
    <node CREATED="1244017811859" ID="ID_1569725598" MODIFIED="1244017939734" POSITION="right">
    <richcontent TYPE="NODE"><html>
      <head>
       
      </head>
      <body>
        <p>
          häßlich
        </p>
      </body>
    </html>
    </richcontent>
    </node>
    </node>
    </map>

     
    • B.Egidio

      B.Egidio - 2009-06-03

      I would like to underline this request very much, since over the time I had and still have different problems with Umlauts (as mentioned before) and I could imagine, that the xml declaration could prevent them.

      Thank you for considering this

      It would also solve - I believe - the compatibility problems with Pocket Freemind which I consider a very good companion to Freemind.

      Br.Egidio

       

Log in to post a comment.