Re: [HACKERS] bug in Google translate snippet

2009-07-03 Thread Jan Urbański
Alvaro Herrera wrote: > Andrew Dunstan wrote: >> >> Alvaro Herrera wrote: >>> Hi, >>> >>> I was having a look at this snippet: >>> http://wiki.postgresql.org/wiki/Google_Translate >>> and it turns out that it doesn't work if the result contains non-ASCII >>> chars. Does anybody know how to fix it?

Re: [HACKERS] bug in Google translate snippet

2009-07-03 Thread Jan Urbański
Alvaro Herrera wrote: > Andrew Dunstan wrote: >> >> Alvaro Herrera wrote: >>> Hi, >>> >>> I was having a look at this snippet: >>> http://wiki.postgresql.org/wiki/Google_Translate >>> and it turns out that it doesn't work if the result contains non-ASCII >>> chars. Does anybody know how to fix it?

Re: [HACKERS] bug in Google translate snippet

2009-07-02 Thread Alvaro Herrera
Andrew Dunstan wrote: > > > Alvaro Herrera wrote: >> Hi, >> >> I was having a look at this snippet: >> http://wiki.postgresql.org/wiki/Google_Translate >> and it turns out that it doesn't work if the result contains non-ASCII >> chars. Does anybody know how to fix it? >> >> alvherre=# select gtran

Re: [HACKERS] bug in Google translate snippet

2009-07-02 Thread Andrew Dunstan
Alvaro Herrera wrote: Hi, I was having a look at this snippet: http://wiki.postgresql.org/wiki/Google_Translate and it turns out that it doesn't work if the result contains non-ASCII chars. Does anybody know how to fix it? alvherre=# select gtranslate('en', 'es', 'he'); ERROR: plpython: fun

[HACKERS] bug in Google translate snippet

2009-07-02 Thread Alvaro Herrera
Hi, I was having a look at this snippet: http://wiki.postgresql.org/wiki/Google_Translate and it turns out that it doesn't work if the result contains non-ASCII chars. Does anybody know how to fix it? alvherre=# select gtranslate('en', 'es', 'he'); ERROR: plpython: function "gtranslate" could n