Unicode in strings

Cecil Ward cecil at cecilward.com
Thu Jul 27 23:06:56 UTC 2023


On Thursday, 27 July 2023 at 22:35:00 UTC, Adam D Ruppe wrote:
> On Thursday, 27 July 2023 at 22:15:47 UTC, Cecil Ward wrote:
>> How do I get a wstring or dstring with a code point of 0xA0 in 
>> it ?
>
> note that you don't need wstring and dstring to express all 
> unicode strings.

I realised that I was probably generating UTF8 and only one byte, 
so I switched to \u00A0, I think. Must have got that wrong too 
because I was still getting the error message. I’ll try it again 
carefully.


More information about the Digitalmars-d-learn mailing list