Open GoogleCodeExporter opened 9 years ago
This is not bug. Your text editor shows unicode symbols as equal.
Actually this code should be read as:
if (c[i] >= '\u00a1'/*'¡'*/ && c[i] <= '\u00bf'/*'¿'*/) {
sb.append('\u00c2'/*'Â'*/);
sb.append(c[i]);
} else if (c[i] >= '\u00c0'/*'À'*/ && c[i] <= '\u00bf'/*'ÿ'*/) {
sb.append('\u00c3'/*'Ã'*/);
sb.append((char)(c[i] - 0x40/*'@'*/));
} else {
sb.append(c[i]);
}
This method is deprecated begining from the next release (2.0.6).
Original comment by ydan...@gmail.com
on 21 Feb 2008 at 3:29
Original issue reported on code.google.com by
fore...@gmail.com
on 19 Feb 2008 at 4:03