Re: [io] Unicode escape/unescape Writer/Reader

2012-03-07 Thread Emmanuel Bourg
Le 07/03/2012 17:56, Honton, Charles a écrit : Isn't this performing the function of a java.nio.charset.CharsetDecoder or a org.apache.commons.codec.StringDecoder? I don't think so. CharsetDecoder works at the binary level to transform bytes into characters according to a specific charset. An

Re: [io] Unicode escape/unescape Writer/Reader

2012-03-07 Thread Honton, Charles
Emmanuel, Isn't this performing the function of a java.nio.charset.CharsetDecoder or a org.apache.commons.codec.StringDecoder? Regards, Chas Honton On 3/7/12 8:12 AM, "Emmanuel Bourg" wrote: >I now have an implementation ready for the reader in the [csv] source >code: > >https://svn.apache.or

Re: [io] Unicode escape/unescape Writer/Reader

2012-03-07 Thread Emmanuel Bourg
I now have an implementation ready for the reader in the [csv] source code: https://svn.apache.org/repos/asf/commons/sandbox/csv/trunk/src/main/java/org/apache/commons/csv/UnicodeUnescapeReader.java I think I'll also handle other escape sequences such as \n or \t. Emmanuel Bourg Le 12/11/2011

Re: [io] Unicode escape/unescape Writer/Reader

2011-11-11 Thread Luc Maisonobe
Le 12/11/2011 00:27, Emmanuel Bourg a écrit : > Hi, > > It seem that unescaping unicode escape sequences (\u1234) in input > stream is a common need. [configuration] does it for > PropertiesConfiguration, and [csv] can also decode these sequences > optionally. > > In the other direction, there is

[io] Unicode escape/unescape Writer/Reader

2011-11-11 Thread Emmanuel Bourg
Hi, It seem that unescaping unicode escape sequences (\u1234) in input stream is a common need. [configuration] does it for PropertiesConfiguration, and [csv] can also decode these sequences optionally. In the other direction, there is also a need to escape unicode characters not supported