string to character code hex string

bitwise via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 2 10:52:52 PDT 2017


On Saturday, 2 September 2017 at 17:41:34 UTC, Ali Çehreli wrote:
> 
> You're right but I think there is no intention of interpreting 
> the result as UTF-8. "f62026" is just to be used as "f62026", 
> which can be converted byte-by-byte back to "ö…". That's how 
> understand the requirement anyway.
>
> Ali

My intention is compute the mangling of a D template function 
that takes a string as a template parameter without having the 
symbol available. I think that means that converting each byte of 
the string to hex and tacking it on would suffice.



More information about the Digitalmars-d-learn mailing list