Subject: | Unicode/UTF8 not fully handled |
There are a lot of places where strings with UTF8 characters are
included are not passed on correctly to the wiki.
libwww-perl does not promise to do any conversion of data, it just takes
the raw byte values of data sent. So in order to pass UTF8-encoded data,
it has to be done by the caller. I would appreciate if I did not
explicitly have to encode utf8 data before passing it to MediaWiki, I
think MediaWiki should do this itself.
For example, a call to upload currently looks like this:
$BOT->upload(encode_utf8($image_name), $image_data,
encode_utf8($description));
It would be good if it was simply $BOT->upload($image_name, $image_data,
$description);