I need to save unicode font names and paths to disk for reloading and need to do so in fixed length strings.
If I pad the string with spaces after strconv(Name,vbunicode) then on reload, I trim, check the length and add back a chr$(32) if its an odd number. It works fine but it does mean that I will lose a Unicode character that is composed of two Chr$(32)s.
Does such a character exist?
If I pad the sting before converting to Unicode, I would avoid this problem but I dont know if rtrim$ works on the Unicode string.
Any advice appreciated!
If I pad the string with spaces after strconv(Name,vbunicode) then on reload, I trim, check the length and add back a chr$(32) if its an odd number. It works fine but it does mean that I will lose a Unicode character that is composed of two Chr$(32)s.
Does such a character exist?
If I pad the sting before converting to Unicode, I would avoid this problem but I dont know if rtrim$ works on the Unicode string.
Any advice appreciated!