[FIXED] Malformed UTF-8 data

If you find any bugs, please post in here. Bugs in the Linux version should be reported on Github.

[FIXED] Malformed UTF-8 data

Postby dcppguy » 29 Jan 2017, 23:13

When I try to open a file list containing the following file names, I get the error "Malformed UTF-8 data". The file list was create by DC++ 0.863. Should be easy to reproduce.

Hm, seems I cannot attach the file names normally, I now will send them as base64 encoded (see https://www.base64decode.org/ for decoding):
Code: Select all
V2hlbiBJIHRyeSB0byBvcGVuIGEgZmlsZSBsaXN0IGNvbnRhaW5pbmcgdGhlIGZvbGxvd2luZyBmaWxlIG5hbWVzLCBJIGdldCB0aGUgZXJyb3IgIk1hbGZvcm1lZCBVVEYtOCBkYXRhIi4gVGhlIGZpbGUgbGlzdCB3YXMgY3JlYXRlIGJ5IERDKysgMC44NjMuIFNob3VsZCBiZSBlYXN5IHRvIHJlcHJvZHVjZToNCg0KCQkJPEZpbGUgTmFtZT0iQmFraGFyIE5hYmlldmEgR3ltIENoaW4gVXBzINCx0LDRhdCw0YAg0L3QsNCx0LjQtdCy0LAoMSkubXA0IiBTaXplPSI3NzQ4MTMiIFRUSD0iRUxBWkNGNEVPR0pSVDZZMlBRNEpBM1FaWktPREhQSEY1VFhTWVBBIi8+DQoJCQk8RmlsZSBOYW1lPSJCYWtoYXIgTmFiaWV2YSBpcm9uIGJ1dHQubXA0IiBTaXplPSIxNTgxMjAxNSIgVFRIPSJVM0MyWlg3SUVSM1NOTzIzUTZQVDRaNEM1WDNHS0RDQ0VFQkZJUFEiLz4NCgkJCTxGaWxlIE5hbWU9IkJha2hhciBOYWJpZXZhIExpZnRpbmcgYSBtYW4gbGlrZSBhIGZlYXRoZXIgdHJhaW5pbmcgQ2FsdmVzINCx0LDRhdCw0YAg0L3QsNCx0LjQtdCy0LAoMSkubXA0IiBTaXplPSI4OTk5NDYiIFRUSD0iRFFXWFROWlFVRUhJTVJRNkUzS1pJUVA1QzVTT0VRUlY1WldaQjNJIi8+DQoJCQk8RmlsZSBOYW1lPSJCYWtoYXIgTmFia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g==
dcppguy
 
Posts: 1
Joined: 29 Jan 2017, 23:10

Re: Malformed UTF-8 data

Postby maksis » 30 Jan 2017, 19:42

Thanks for the report, I'll check it on the weekend
User avatar
maksis
Site Admin
 
Posts: 860
Joined: 23 Nov 2010, 18:56

Re: Malformed UTF-8 data

Postby maksis » 03 Feb 2017, 20:10

This will be fixed in the next version
User avatar
maksis
Site Admin
 
Posts: 860
Joined: 23 Nov 2010, 18:56


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 3 guests

cron