|
-
Jan 3rd, 2020, 03:30 PM
#27
Re: chrw error 5
 Originally Posted by Elroy
So LeandroA, that’s the long answer as to why ChrW didn’t work for you.
And your "long answer" is still wrong in nearly its entirety.
ChrW$ does work as it should (for 16-bit-Code-Units, converting them from a 16Bit-Number into a BSTR).
I've already explained to you, that the ChrW2-function (which came up earlier in this thread),
should have been better named - as e.g. UTF32number_to_UTF16string(Byval UTF32Value As Long)...
(with UTF32numbers below the BMP, resulting in a BSTR-Char with len=1, above it in a BSTR-Char with len=2).
HTH
Olaf
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|