Re: Language Problem !!!
| From: | Frank M. Kromann | Date: | Mon, 09 Oct 2000 02:55:08 +0000 |
| Subject: | Re: Language Problem !!! | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-3049@lists.php.net to get a copy of this message | ||
Command line and Windows programs do not use the same codepage.
The commandline uses an ASCII char set and Windows programs like Notepad, Apache and IIS uses ANSI.
Databases like MSSQL server will do the translation for you, but will MySQL do the same ?
- Frank
>Hello Panos,
>
>similar problems (and more) have been solved when i used
>base64_encoding/base64_decoding for *every* insertion/retrieval from
>databases (oracle, mysql). I am sure that is has something to do with
>NLS_LANG settings but I haven't been able to find an acceptable solution.
>
>Kalh tyxh,
>-Stathis.
>
>
>On Fri, 6 Oct 2000, panos wrote:
>
>> Hello everybody ......
>> I need some help.
>> I have installed mysql-3.23.24-beta for win32 on windows NT workstation
>> a have managed to make it work with PHP4.0.2 and Apache 1.3.12
>> My problem is with the language. I have made a database with tables and some
>> of them contain records written in Greek. Conducting a select from command line
>> shows the records just fine, at first i couldn't insert any data written in Greek
>> using a file created in windows (notepad or wordpad) the data would end up in a non understanding
>> format so i had to pass all the data in from command line by hand which was the only way it worked,
>> after temporarily solving this problem a faced another problem i haven't solved yet ...... when
>> i try to see any record written in Greek from php through apache on my browser the language gets
>> messed up and i can't read anything, i have tried to use different code pages for greek in my
>> browser but nothing works.
>> Does anybody know how to fix the problem. Is there anything wrong with my settings ?
>> Thanks for any help ........
>> Panos.
>>
>> ->Hi
>> ->This is not a MySQL related problem. I think you should post to the PHP list
>> ->since PHP does all the work of translating ASCII text (MySQL Data) to HTML.
>> ->Regards
>> ->John
>> Is this true ?
>>
>>
>
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
>For additional commands, e-mail: php-windows-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>