[unixODBC-support] Charset differs depending where I start the PHP script

Thomas Despoix despoix at openxtrem.com
Mon Sep 21 13:42:26 BST 2009


Anyway, you could also try to call your web script via a wget command.
That's what I always do, because our web framework brings us a lot of
tools....

On Mon, Sep 21, 2009 at 2:34 PM, Nick Gorham <nick at lurcher.org> wrote:

> Stefan.Immel at stroeher.de wrote:
>
>> I use unixODBC in combination with the iSeries Access for Linux ODBC
>> driver to connect from a debian machine to an iSeries.
>>
>> I wrote a PHP script that fetches some data and everything works great as
>> long as I call the script the "normal" way via apache server and browser. I
>> need to call the script via an cronjob and so I tried to issue an "phph
>> script" command on the commandline which resulted in a wrong chrset in my
>> data. All special characters (umlauts) are translated wrong and since I plan
>> to create an Excel file this will result in even more problems.
>>
>> Anybody with a solution to this problem?
>>
>>  I guess first thing to check is the LANG setting under both conditions.
>
> --
> Nick
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at mailman.unixodbc.org
> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-support
>
>


-- 
Thomas Despoix
openXtrem : Solutions Open Source pour les Entreprises
tél : +33 (0) 662 199 661
web : http://www.openxtrem.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20090921/1da5a0a5/attachment.html>


More information about the unixODBC-support mailing list