[freetds] Special character problem with php freetds cron

Oliver Baden obaden at yahoo.de
Mon Jul 7 17:22:42 EDT 2003


Hello again,

solved it myself. Changed the field-type from ntext to
text and now it's working! Will see tomorrow what
side-effects I created by doing so ;-))

Maybe someone could still explain this issue to me
just for understanding! I thought that ntext would be
the more 'compatible' type for these operations.

Thanks + Bye

Oliver


 --- Oliver Baden <obaden at yahoo.de> schrieb: > Hi!
> 
> I have been trying to solve this problem for the
> past
> week and am not getting any further.
> 
> I have a php-script which is fired by a cron job and
> is supposed to build html-files by filling a
> template
> with data from a MSSQL-2000 database. 
> 
> When I run this script from console everything works
> fine. Doing the same by cron job all the german
> special characters are not read properly from
> database. The umlaut-characters are retrieved as
> question-marks. 
> 
> The data being retrieved is stored in ntext fields.
> 
> I tried to change some settings in the locales.conf
> but either I am not setting it right or locales.conf
> is ignored by cron.
> 
> My locales.conf
> [de_DE]
>    language = german
>    char set = iso_1  (also tried UTF8)
> 
> Please excuse if this is not the right board for
> posting this but I have already seen some similar
> requests which looked like the people had the same
> problems.
> 
> 
> My configuration:
> php 4.3.2
> SuSe Linux 8.2
> freetds 0.61
> 
> Thanks!
> 
> Best regards
> 
> Oliver Baden
> 
>
__________________________________________________________________
> 
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
> Logos und Klingeltöne fürs Handy bei
> http://sms.yahoo.de
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds 

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de


More information about the FreeTDS mailing list