[PATCH] Check if DLD contains non-ascii characters

miika.turkia at gmail.com miika.turkia at gmail.com
Wed Apr 3 15:58:27 PDT 2013


Yes, old import. Will play around with import later.

MiikaOn 3.4.2013 21:06 Rainer Mohr wrote:

On 03.04.2013 11:38, Miika Turkia wrote:
> I still get following on export:
> <CYLINDERDESCRIPTION><![CDATA[сме]]></CYLINDERDESCRIPTION>
>
> the encoding is said to be UTF-8 but the content is still encoded with 
> character references in CDATA. Is this because of how my test dives 
> were imported or is it a bug? (Scandinavian characters show properly 
> but they also are in CDATA...)
>

Were those dives entered before yesterday? If yes, then its because of 
the conversion that happened in pre-UTF8-ages and that's what's in the 
database.
If you enter new dives today, you shouldn't get these html-encoded 
characters in the Export. Could you test that with a dive?
Please leave the existing dive, so I can look for a way to convert them 
to readable characters before sending the XML (for legacy data)

Rainer




More information about the subsurface mailing list