URL:
<http://gna.org/bugs/?22282>
Summary: convert_string() / iconv() error reporting could be
more specific
Project: Freeciv
Submitted by: jtn
Submitted on: Sun 06 Jul 2014 12:39:24 BST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: Any
Planned Release:
_______________________________________________________
Details:
Currently convert_string() just says "Invalid string conversion from %s to
%s." if it encounters an error related to the body of the string.
There are some defined errno meanings for iconv(), so the message could
sometimes be more specific.
EILSEQ An invalid multibyte sequence has been encountered in the
input.
EINVAL An incomplete multibyte sequence has been encountered in
the
input.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?22282>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev