OliverCi / freeplane2md

Convert Freeplane mind maps into Markdown format
GNU Lesser General Public License v2.1
18 stars 3 forks source link

Unicode to UTF-8 #14

Closed diplomatech closed 1 year ago

diplomatech commented 1 year ago

My Freeplane maps is written in portuguese language, which has accented characters. So, the freeplane2md converted all that accented characters to a fixed character code. I changed the freeplane2md.py code, at line 191, to solve this problem. There I added the parameter encoding = 'UTF-8' to the open(markdown_path, 'w')... => open(markdown_path, 'w', 'UTF-8').

OliverCi commented 1 year ago

Good point. The current behavior depends on the system configuration. I'll include forcing UTF-8 in the next version.