Opened 15 years ago
Closed 15 years ago
#2842 closed enhancement (invalid)
enhance msEncodeHTMLEntities to encode ISO-Latin-1 Characters
Reported by: | russellmcormond | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer CGI | Version: | 5.2 |
Severity: | normal | Keywords: | |
Cc: |
Description
I am working in an environment where we have French characters which are coming out of Oracle->ArcSDE->MapServer encoded as ISO-8859-1. For policy reasons we must use UTF-8 everywhere.
As a stopgap until we can find a more correct solution, I made a patch to msEncodeHTMLEntities in mapstring.c to encode those characters as well. This may be useful to other people as well who are in a similar situation, and need something until such time as a proper solution is created.
Attachments (1)
Change History (2)
by , 15 years ago
Attachment: | mapstring.patch added |
---|
comment:1 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
This patch is less useful than initially thought. In our case the problem turns out to be an issue with iconv (library interdependency), which is intended to be used to transcode characters to UTF-8 which is what we were wanting characters encoded in anyway. This HTML entities enhancement would not be useful in most situations.
Simple patch to mapstring.c