June 24, 2004 std.uri.encode problem | ||||
---|---|---|---|---|
| ||||
std.uri.encode handles non-ascii characters incorrectly. For example:
| import std.uri;
| import std.stream;
| int main()
| {
| stdout.writeLine( encode( decode("%E3%81%82") ) );
| return 0;
| }
prints "%E3%E3%E3".
The while-loop at std/uri.d Line164 to 171 should increment 'j', I think.
--
Kaz. (ki@kmonos.net)
|
June 26, 2004 Re: std.uri.encode problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kazuhiro Inaba | Yes, you're right. I'll fix it. -Walter |
Copyright © 1999-2021 by the D Language Foundation