main working on unicode systems
Merge pull request #577 from tdev/main_unicode

main working on unicode systems