|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
no "umlaute" / "alter session" has no effect
Hi,
I'm accessing a ORACLE-Server from a univeristy Web-Server via PHP (oci8) and for testing purposes from a lokal Web-Server on a Windows-MAchine (oci8 / XAMPP). Since I set the NLS_LANG-Param on my local machine I have no problems with the german "Umlaute". "alter session set NLS_DATE_FORMAT='dd-mm-yyyy'" works as well. BUT NOW, on the university-server neither the setting of NLS_LANG (using "putenv(...)") nor the "alter session" has any effect. They use a ZEUS-Webserver. Thank you for any help. |
|
#2
|
|||
|
|||
|
NLS support has to be installed, it usually is by default.
ALTER SESSION should work, as far as I've seen. Do you get errors with ALTER SESSION? What are they? What ASCII character is displayed for a character that should be umlaute-u on your keyboard? You can call ASCII() in SQLPLUS to determine the ASCII value. Code:
SELECT ASCII('Ü') FROM DUAL;
Next insert that value in a field in a temp table, and try the same thing. |
|
#3
|
|||
|
|||
|
The query "SELECT ASCII('Ü') FROM DUAL"
leads to the following result: 911 ORA-00911: invalid character "ALTER SESSION" produces no erros. |
|
#4
|
|||
|
|||
|
Code:
select * from NLS_SESSION_PARAMETERS; Give you what output? It sounds like something was not installed, like NLS support. |
|
#5
|
|||
|
|||
|
hello,
just try the convert function for example: select convert(something,'WE8ISO8859P1') from table; help convert gives the parameters to use. CONVERT(char, dest_char_set [,source_char_set] ) I hope I could help you. |
![]() |
| Viewing: Dev Shed Forums > Databases > Oracle Development > no "umlaute" / "alter session" has no effect |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|