winapi - Embed a file as unicode (WCHAR) into a resource -
i have text file i'd embed within resource in win32, unicode characters - is, each character takes 2 bytes. how can this? file contains ascii characters.
is there indication or flag whether or not file unicode file?
i have resource.rc
:
file file_type "text.txt"
when loaded @ runtime, each character takes 1 byte.
rc not interpret contents of files embedded in way. sure file saved unicode?
if not, can save file unicode notepad (file -> save as, choose encoding = unicode).
Comments
Post a Comment