HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Could not able to display the russian characters o...
Operating System - HP-UX
1832642
Members
2827
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 12:46 AM
06-05-2008 12:46 AM
Hi,
I am not able to display the russian characters on my HP-UX11i server.When i try to fetch a russian string from a table from my database through sqldeveloper, the russian string is displayed properly but when i give the same query from sqlplus it return some junk character string .Here are the setting details.
NLS_LANG is been set to "russian_cis.CL8ISO8859P5"
and the locale is
#locale
LANG=ru_RU.utf8
LC_CTYPE="ru_RU.utf8"
LC_COLLATE="ru_RU.utf8"
LC_MONETARY="ru_RU.utf8"
LC_NUMERIC="ru_RU.utf8"
LC_TIME="ru_RU.utf8"
LC_MESSAGES="ru_RU.utf8"
LC_ALL=
could somebody help me to troubleshoot this ?
Thanks and Regards
I am not able to display the russian characters on my HP-UX11i server.When i try to fetch a russian string from a table from my database through sqldeveloper, the russian string is displayed properly but when i give the same query from sqlplus it return some junk character string .Here are the setting details.
NLS_LANG is been set to "russian_cis.CL8ISO8859P5"
and the locale is
#locale
LANG=ru_RU.utf8
LC_CTYPE="ru_RU.utf8"
LC_COLLATE="ru_RU.utf8"
LC_MONETARY="ru_RU.utf8"
LC_NUMERIC="ru_RU.utf8"
LC_TIME="ru_RU.utf8"
LC_MESSAGES="ru_RU.utf8"
LC_ALL=
could somebody help me to troubleshoot this ?
Thanks and Regards
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 01:47 AM
06-05-2008 01:47 AM
Re: Could not able to display the russian characters on HP-UX.
hi;
Convert the strings or file containing the strings to UTF-8 using 'iconv'
For example:
iconv -f iso81 -t utf8 > file.utf8
regards,
mustafa
Convert the strings or file containing the strings to UTF-8 using 'iconv'
For example:
iconv -f iso81 -t utf8
regards,
mustafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 04:18 AM
06-05-2008 04:18 AM
Solution
The NLS_LANG variable affects the database only.
The "locale" command lists the variables that affect the OS.
In your case, your database is using ISO-8859-5 character set, while your OS is configured for Unicode.
If you want to change the OS-level settings to match the data in your database, you would have to set LANG to "ru_RU.iso88595" and then configure your terminal (emulator) to interpret the incoming characters as ISO-8859-5 character set and display them correctly.
If sqlplus already translates the output from your database to Unicode, there might be a problem with the Unicode UTF-8 support of your terminal (emulator).
What exactly do you see?
- If you see two or more junk characters per each russian character, your sqlplus is outputting Unicode UTF-8 but your display is misinterpreting the data as some other character set.
- If you see one junk character per each russian character and the junk character is always the same, it might be the "I cannot display this character" symbol of the Unicode system. A possible cause is that your terminal emulator does not know where to find a Unicode font that would contain the necessary russian character symbols.
On the other hand, it might be the "this is an invalid UTF-8 character" symbol, which would mean that your system is outputting ISO-8859-5 while your terminal expects Unicode.
MK
The "locale" command lists the variables that affect the OS.
In your case, your database is using ISO-8859-5 character set, while your OS is configured for Unicode.
If you want to change the OS-level settings to match the data in your database, you would have to set LANG to "ru_RU.iso88595" and then configure your terminal (emulator) to interpret the incoming characters as ISO-8859-5 character set and display them correctly.
If sqlplus already translates the output from your database to Unicode, there might be a problem with the Unicode UTF-8 support of your terminal (emulator).
What exactly do you see?
- If you see two or more junk characters per each russian character, your sqlplus is outputting Unicode UTF-8 but your display is misinterpreting the data as some other character set.
- If you see one junk character per each russian character and the junk character is always the same, it might be the "I cannot display this character" symbol of the Unicode system. A possible cause is that your terminal emulator does not know where to find a Unicode font that would contain the necessary russian character symbols.
On the other hand, it might be the "this is an invalid UTF-8 character" symbol, which would mean that your system is outputting ISO-8859-5 while your terminal expects Unicode.
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2008 07:55 PM
06-05-2008 07:55 PM
Re: Could not able to display the russian characters on HP-UX.
Hi Mike,
Thanks a lot for the suggestions . Indeed the problem was becase my terminal was supporting the "iso88595" character set. So i tried setting
export LANG=ru_RU.iso88595
- launch an hpterm window with is8859.5 fontset
example:
dtterm -fn -ibm--bold-r-block--23-160-100-100-c-110-iso8859-5&
this worked .
Thanks once again for the help
Thanks a lot for the suggestions . Indeed the problem was becase my terminal was supporting the "iso88595" character set. So i tried setting
export LANG=ru_RU.iso88595
- launch an hpterm window with is8859.5 fontset
example:
dtterm -fn -ibm--bold-r-block--23-160-100-100-c-110-iso8859-5&
this worked .
Thanks once again for the help
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP