[mapserver-users] More upgrade problems

DeDuikertjes DeDuikertjes at xs4all.nl
Fri Mar 5 14:22:40 EST 2010


Daniel,

Thank you for your answer.
"iconv -l" tells me UTF-8 is supported.

My data comes from postgis.
If I look in the postgis database it tells me it's encoded in UTF8.

If I make a database with:
CREATE DATABASE "ppa_test_database"
  WITH OWNER = xxxxx
       ENCODING = 'UTF-8'
       CONNECTION LIMIT = -1;

postgis tells me the database ppa_test_database is encoded in UTF8 and 
not UTF-8.

So apparently postgis wants to state UTF8 and iconv wants to hear UTF-8.

Is there any way around this?

MArco


Daniel Morissette schreef:
> <div class="moz-text-flowed" style="font-family: 
> -moz-fixed">DeDuikertjes wrote:
>>
>> It gives me a LOT of errors like:
>> [Thu Mar  4 15:14:05 2010].903727 msGetEncodedString(): Unknown 
>> identifier. Encoding not supported by libiconv (UTF8).
>>
>> Searching and reading up on this I couldn't find a reason why things 
>> work in 5.1-dev and work not in 5.4.2.
>>
>
> Maybe the difference is caused by a different version of iconv being 
> used by the new build?
>
> Anyway, the error message says "encoding UTF8 not supported". I 
> believe the identifier should be "UTF-8" and not "UTF8".
>
> FYI, "iconv -l" can be used at the command-line to list the encodings 
> supported by your version of libiconv.
>
> Daniel


More information about the mapserver-users mailing list