Question
GetProfileString does not work with unicode?
Hi,
I tried using GetProfileString from an ini file that is saved using unicode. My page is already in UTF-8 format. However, the function just returns empty string. When I tried to save the ini file using ANSI, the characters(which is Farsi) returned are just garbages. And when it is saved as unicode, it just returns an empty value. Any reasons why?
I tried using GetProfileString from an ini file that is saved using unicode. My page is already in UTF-8 format. However, the function just returns empty string. When I tried to save the ini file using ANSI, the characters(which is Farsi) returned are just garbages. And when it is saved as unicode, it just returns an empty value. Any reasons why?
