faqts : Computers : Programming : Languages : PHP : Database Backed Sites : Oracle

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 12 people (75%) answered Yes
Recently 1 of 2 people (50%) answered Yes

Entry

How do I get PHP to return 1250 characters from Oracle instead of ASCII?

Mar 3rd, 2000 10:15
Thierry Valéro, Pavol Cintala, Matt Gregory,


So,
You have to specify the default charset for Oracle, before the first 
logon to the database.
I have got the problem, in CGI (Pro*C), as in PHP.
The best way to do it, is to set an environment variable:
    putenv ('NLS_LANG=Slovak_Slovakia.EE8MSWIN1250');
I think you want to get "MS Windows Code Page 1250 8-bit East European" 
? 
TV
Reference : Server Reference Manual -National Language Support.
TV