so i just commented out this line in freemind.module

$txt = mb_convert_encoding($txt, "ISO-8859-1", "UTF-8");

or is there anything else in drupal settings or code that needs changing?

Comments

joel_guesclin’s picture

The reason that mb_convert_encoding is there, is to handle the conversion between the UTF-8 encoding used in Drupal and the ISO8859 encoding used in Freemind. If your language is English and you don't use any special characters, then it probably doesn't matter if you comment this out. If you are using any other language, however, then you will probably find yourself in trouble. Most likely symptom is that when you load the map in Freemind it just loads a blank map because it can't interpret the special characters.

I've had a lot of trouble with this, and have ended up completely rewriting this bit of the code - unfortunately I can't put it onto CVS yet because I'm also doing some new features which are taking some time and will be incorporated in the next version.

In answer to the question "or is there anything else in drupal settings or code that needs changing?", in principle the answer is "no" - but there could always be bugs of course!

tamasd’s picture

Status: Active » Closed (won't fix)

Drupal 4.x is not supported.