Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old June 19th, 2004, 05:18 AM
MaWoe MaWoe is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 MaWoe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old June 19th, 2004, 08:28 AM
jim mcnamara jim mcnamara is offline
......@.........
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Posts: 1,307 jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 4 h 28 m 57 sec
Reputation Power: 48
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.

Reply With Quote
  #3  
Old June 19th, 2004, 02:20 PM
MaWoe MaWoe is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 MaWoe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The query "SELECT ASCII('Ü') FROM DUAL"

leads to the following result:

911 ORA-00911: invalid character

"ALTER SESSION" produces no erros.

Reply With Quote
  #4  
Old June 21st, 2004, 09:23 AM
jim mcnamara jim mcnamara is offline
......@.........
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jun 2004
Posts: 1,307 jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level)jim mcnamara User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 4 h 28 m 57 sec
Reputation Power: 48
Code:
select * 
from
NLS_SESSION_PARAMETERS;

Give you what output?

It sounds like something was not installed, like NLS support.

Reply With Quote
  #5  
Old June 25th, 2004, 06:27 AM
RJR RJR is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 4 RJR User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > no "umlaute" / "alter session" has no effect


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway