Reliance on APR Iconv unnecessary
---------------------------------
Key: ETCH-178
URL: https://issues.apache.org/jira/browse/ETCH-178
Project: Etch
Issue Type: Bug
Components: c-binding
Environment: Embedded environments - testing on Linux/ARM
Reporter: Thomas Marsh
APR Iconv is an excessive dependency on embedded platforms which already
provide a native iconv. However, there are several issues with supporting
native iconv codepages. Etch/C hardcodes non-standard encoding names. For
example, "utf-8" and "ucs2-internal" are used instead of "UTF-8" and I believe
"USC-2-INTERNAL" is deprecated - perhaps the "WCHAR_T" encoding is the
preferred approach.
In relation to issue ETCH-177, non-portable assumptions about encodings result
in numerous issues when trying to modify the code to support native iconv.
These issues manifest themselves in various places, but especially in
bintdo_write_string() which makes comparisons of wire and local encodings.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira