Re: [Gambas-user] Detecting a non-UTF character in a string

2014-03-28 Thread Benoît Minisini
Le 28/03/2014 16:45, Benoît Minisini a écrit : > Le 26/03/2014 03:51, bbruen a écrit : >> I get an occasional* error with downloaded data which results in a >> postgresql update failure with the following error "ERR: Cannot create >> record: ERROR: invalid byte sequence for encoding "UTF8": 0xc2".

Re: [Gambas-user] Detecting a non-UTF character in a string

2014-03-28 Thread Benoît Minisini
Le 26/03/2014 03:51, bbruen a écrit : > I get an occasional* error with downloaded data which results in a > postgresql update failure with the following error "ERR: Cannot create > record: ERROR: invalid byte sequence for encoding "UTF8": 0xc2". I know > how to fix that as long as I can detect th

[Gambas-user] Detecting a non-UTF character in a string

2014-03-25 Thread bbruen
I get an occasional* error with downloaded data which results in a postgresql update failure with the following error "ERR: Cannot create record: ERROR: invalid byte sequence for encoding "UTF8": 0xc2". I know how to fix that as long as I can detect the bad char in the string. That is what I dont