hilkoc / vbaDeveloper

Tools for development and version control of vba code
MIT License
510 stars 138 forks source link

Encoding issues #29

Open TomasZwinkels opened 7 years ago

TomasZwinkels commented 7 years ago

I am having some troubles with special characters (Unicode).

When I make the 'ImportCodeFor' call in in the add-in menu a .bas file with this line:

strPattern = "Dr. ès lettres"

becomes

strPattern =" Dr. ès lettres"

The general windows settings for 'Language for non-Unicode programs' is set to German, and should allow for such characters. A copy paste via notepad++ into the code window also properly copies to character. I suppose somewhere in the import process the encoding of code content might need to be specified? So far I had no luck figuring out where myself.