unicode again

Martin von Loewis loewis at informatik.hu-berlin.de
Tue Aug 22 11:06:41 UTC 2000


> When a name includes extended characters, what do we put in the name length
> in the mangling?  The length in abstract characters, or in bytes?
> 
> My inclination would be the latter, but the ABI currently says "character
> length".

AFAICT, the only discussion of that is still in issue F-8, correct?

If so, I'd be very curious what the underlying C ABI (for IA-64)
actually specifies.

The posted resolution of F-8 only allows for encoding the number of
characters. The reason is that you first have to put the length into
the resulting C symbol, and convert that into a byte sequence only
afterwards.

If you want to revert that, I guess we'd actually have to explicitly
specify the rules for encoding Unicode characters.

Regards,
Martin





More information about the cxx-abi-dev mailing list