← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 887057] [NEW] resource-table-generation-does-not-escape-unsafe-characters

 

Gratified to see this being fixed,

I have seen lots of problems here in Accra when trying to import
metadata exports for francophone countries who have lots of "c'est"
"d'ailleurs" etc.

Knut

On 11/15/11, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
> 2011/11/15 Lars Helge Øverland <larshelge@xxxxxxxxx>:
>> Hi Jason,
>>
>> you are correct. For some very weird reason we had chosen to make an
>> exception for postgres and escape single-quote with a backslash, while
>> doubling it ( '' ) is the standard and preferred way in sql. Hence it
>> did not only affect resource tables but all places we do direct sql. I
>> have fixed this now in trunk. Would be grateful if you could give it a
>> try now and see if it works properly. Thanks for reporting.
>
> Pretty sure this should work.  FWIW its also what I do on mydatamart
> as sqlite also uses the tick-tick encoding for a tick.
>
>>
>> Lars
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>


-- 
Knut Staring
Informatics, U. of Oslo
http://hisp.uio.no
+4791880522


Follow ups

References