![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| missing binary operator before token "(" | mannam srinivas | Linux | 4 | 08-07-2008 06:43 AM |
| perl split funciton - special character "/" | deepakwins | UNIX for Dummies Questions & Answers | 5 | 02-08-2008 12:19 AM |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-20-2007 01:52 AM |
| deleting newline characters but not the "true" \n character | caddyjoe77 | Shell Programming and Scripting | 1 | 08-15-2007 10:21 PM |
| SuSe Linux: graphics file "(hd0,8)/boot/message" missing | mahatma | SuSE | 3 | 10-19-2006 10:29 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Solaris OS (missing character " ¤ ")
Hi All, i have problem displaying special character '¤' on unix prompt on solaris OS.
Whenever i tried to cut and paste the ¤ character into unix prompt, it changed to '$' character. Please advice what could be the cause. Thanks in advance. |
|
||||
|
Sounds like you are cutting it from an 8-bit ISO-8859-1 environment and pasting it into a 7-bit US-ASCII environment. If you are using bash it has a flag to not strip the 8th bit from input commands (readline directives convert-meta, input-meta, and output-meta) but I would have guessed it would default to 8-bit-clean operation in this day and age.
|
|
||||
|
Hello, thanks for your reply.
May i know if there is any unix environment can be set to allow display of the special character ? or any unix config file to be changed ? We have this problem for long time and until now, there is no solution yet. Please advice. Thanks in advance. |
|
||||
|
What terminal emulator are you using ?
It needs to be configured to use a character set that supports that specific non ASCII character. Then your tty must not strip the eitht bit and finally your shell must not do the same as era already stated. |
|
||||
|
Hi jlliagre, i am using putty terminal client. In fact, we have 2 servers here, one server can display the special character properly without any problem, but the other server not able to display it and it translate into $ sign.
Both server are using same SHELL which is SH SHELL. I tried to changed to BASH but under BASH SHELL, the special character will translate into empty space. Please advice. |
|
||||
|
Sorry, under BASH shell, i am able to display that special char.
$ env|grep SHELL SHELL=/sbin/sh $ bash bash-3.00$ set colsep ¤ But under normal sh SHELL, the following is the output : bash-3.00$ sh $ set colsep $ The special char ¤ converted into $ under SH shell. Please advice how to workaround this if we want it to work under SH shell. Thanks in advance. |
|
||||
|
Btw, how can we know what characterset the OS is currently using ?
I am using same putty terminal client to connect to both the servers, one server can display special character and the other cannot. Both the servers are using SH shell. Could it be the characterset / locale different ? I am not so familiar with unix. Pls help.. Thanks in advance. |
| Sponsored Links | ||
|
|