[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/30593] no JavaSrc encoders
From: |
tromey at gcc dot gnu dot org |
Subject: |
[Bug classpath/30593] no JavaSrc encoders |
Date: |
26 Jan 2007 01:59:49 -0000 |
------- Comment #1 from tromey at gcc dot gnu dot org 2007-01-26 01:59 -------
Mark asked on irc so I thought I would expand.
A JavaSrc encoder applies a transform mentioned in the JLS.
It turns non-ascii characters into the sequence \uNNNN.
If it sees a literal \uNNNN in the input stream, this is turned
into \\uNNNN. (And likewise for any number of \s)
The decoder goes the other way, turning \uNNNN into a unicode
character and stripping a \ from other forms.
IOW it is an encoder that handles what native2ascii is currently
doing in plain old code.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-01-26 01:59:47
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30593