This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] Java: mangling of unicode characters.
- To: apbianco at cygnus dot com
- Subject: Re: [PATCH] Java: mangling of unicode characters.
- From: Jason Merrill <jason at redhat dot com>
- Date: 06 Feb 2001 13:09:56 +0000
- Cc: gcc-patches at gcc dot gnu dot org, java at gcc dot gnu dot org
- References: <200102042025.MAA02104@deliverance.cygnus.com>
>>>>> "Alexandre" == Alexandre Petit-Bianco <apbianco@cygnus.com> writes:
> +/* Assuming (NAME, LEN) is a Utf8-encoding string, emit the string
> + appropriately mangled (with Unicode escapes) to MANGLE_OBSTACK.
> + Characters needing an escape are encoded `__UNN_' to `__UNNNN_', in
> + which case `__U' will be mangled `__U55_'.
Sorry, I was confused when I suggested that; that encoding would mean 'U',
not '__U'. How does just '__U_' seem? That would otherwise mean NUL,
which is not valid here.
Thanks,
Jason