Re: Code review request 6957230: CharsetEncoder.maxBytesPerChar() reports 4 for UTF-8; should be 3

2010-11-25 Thread Ulf Zibis
No answer ? :-( -Ulf Am 19.11.2010 18:00, schrieb Ulf Zibis: IMO, you consequently should additionally correct the javadoc according the evaluation of bug 6957230. -Ulf Am 19.11.2010 08:55, schrieb Xueming Shen: Alan, Last time when Martin and I discussed this issue we agreed that the s

Re: Code review request 6957230: CharsetEncoder.maxBytesPerChar() reports 4 for UTF-8; should be 3

2010-11-19 Thread Ulf Zibis
IMO, you consequently should additionally correct the javadoc according the evaluation of bug 6957230. -Ulf Am 19.11.2010 08:55, schrieb Xueming Shen: Alan, Last time when Martin and I discussed this issue we agreed that the submitter is right about this. (The "charset" is a mapping between

Re: Code review request 6957230: CharsetEncoder.maxBytesPerChar() reports 4 for UTF-8; should be 3

2010-11-19 Thread Alan Bateman
Xueming Shen wrote: Alan, Last time when Martin and I discussed this issue we agreed that the submitter is right about this. (The "charset" is a mapping between "a sequence of bytes" and a "sequence of sisteen-bit Unicode characters, so the character discussed here should be a utf-16 charac

Code review request 6957230: CharsetEncoder.maxBytesPerChar() reports 4 for UTF-8; should be 3

2010-11-19 Thread Xueming Shen
Alan, Last time when Martin and I discussed this issue we agreed that the submitter is right about this. (The "charset" is a mapping between "a sequence of bytes" and a "sequence of sisteen-bit Unicode characters, so the character discussed here should be a utf-16 character...) http://cr.op