Japanese and Hindi test want to insert on file on Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris Japanese and Hindi test want to insert on file on Solaris 10
# 8  
Old 04-27-2010
Code:
set|grep LC
MAILCHECK=60
oinlcso005.int.in.nmc.ericsson.se{arsadm} #: ptree $$
382   /usr/lib/inet/inetd start
  1546  /usr/sbin/in.telnetd
    1549  -bash
      3632  ptree 1549


Last edited by Scott; 04-27-2010 at 09:15 AM.. Reason: Code tags, please...
# 9  
Old 04-27-2010
There is no evidence a locale is set.
Use something like:
Code:
export LC_ALL=hi_IN.UTF-8
vi testfile

Moreover, you are remotely connected through telnet, not the most reliable way to work with binary and a method that prevent to know what terminal emulator you are using from ptree output.
Why aren't you working locally ?
What are you connecting with ? on what OS ?
# 10  
Old 04-27-2010
I have set the LOcale as below :-

Code:
oinlcso005.int.in.nmc.ericsson.se{root} #: locale
LANG=hi_IN.UTF-8
LC_CTYPE=hi_IN.UTF-8
LC_NUMERIC="hi_IN.UTF-8"
LC_TIME="hi_IN.UTF-8"
LC_COLLATE="hi_IN.UTF-8"
LC_MONETARY="hi_IN.UTF-8"
LC_MESSAGES="hi_IN.UTF-8"
LC_ALL=hi_IN.UTF-8

But still its getting converted into dots . I am using Putty from Window Vista . I am working remotely

Last edited by Scott; 04-27-2010 at 09:15 AM.. Reason: Code tags, please...
# 11  
Old 04-27-2010
Is your putty session able to display non latin characters ?
# 12  
Old 04-27-2010
I have connected with console cable and then tried . But still getting the same issue
# 13  
Old 04-27-2010
If putty is unable to display latin characters, there is no much point trying to have vi magically making them visible.
Please clarify.
# 14  
Old 04-27-2010
For detail understanding

We have a application server . We have certain requirement from application team to support multi language . We have installed all the locales . List is attached . All the language is supporting now after configuring the LANG and LC_ALL parameter . Except for Hindi , Japanese and Chinese .

So we want your help to troubleshoot and configure the same .

Step to produce :-

I have installed the Locale
Set the parameter as :-

Code:
LANG=hi_IN.UTF-8
LC_CTYPE=hi_IN.UTF-8
LC_NUMERIC="hi_IN.UTF-8"
LC_TIME="hi_IN.UTF-8"
LC_COLLATE="hi_IN.UTF-8"
LC_MONETARY="hi_IN.UTF-8"
LC_MESSAGES="hi_IN.UTF-8"
LC_ALL=hi_IN.UTF-8

I am using putty and telnet to get connect to the server on Vista .

Vi test
And when we are inserting a hindi text
Code:
हिन्दी में  ghn टाईप करें

All the content is getting converted into dots . Except ghn as :-
Code:
...... ...  ghn .... ..

But I want it should support hindi , as well as chineese and Japneese .

---------- Post updated at 08:51 AM ---------- Previous update was at 08:50 AM ----------

Hey i said you na i took the serial connection directly from the server ( Locally accessing )
Even then the issue is coming

Last edited by Scott; 04-27-2010 at 11:45 AM.. Reason: Code tags, PLEASE!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NCurses not handling hindi half character correctly

Hello, I am working on Ubuntu's Virtual terminal. On the virtual terminal, I am typing in hindi language. Most of the characters are being correctly typed, but in case of typing of a half character, problem is occuring. A hindi character is 'converted' into half by typing ' ् ' after the... (0 Replies)
Discussion started by: syed.waris
0 Replies

2. Solaris

How to set the japanese locale in Solaris 10

Pls help me to set the japanese locale in Solaris 10. I have checked JP locale has been already installed on Solaris BOX. Thanks, Karan N (2 Replies)
Discussion started by: nirka01
2 Replies

3. UNIX for Advanced & Expert Users

Not able to insert new line using sed in Sun Solaris

Hi Guys, can any one know how to replace the string by newline using sed ? i dont need any other solution. I am very curious to know this in sed. Input: one,two,three Output one two three we can acheive this by awk but in sed ?, awk '{gsub(/\,/,"\n");print;}' File (6 Replies)
Discussion started by: rangarasan
6 Replies

4. Shell Programming and Scripting

Solaris test operator -gt

Hello people, I created the below script on HP-UX #!/bin/sh SESSION_NO=`sqlplus -s ${DRBILOUKOS_USER} <<EOF SET HEAD OFF @/export/home/drbiloukos/scripts/sessions_count/no_of_sessions.sql EOF` SESSION_THRESHOLD=250 MAX_SESSIONS=`sqlplus -s ${DRBILOUKOS_USER} <<EOF SET HEAD OFF... (2 Replies)
Discussion started by: drbiloukos
2 Replies

5. Shell Programming and Scripting

How to check weather a string is like test* or test* ot *test* in if condition

How to check weather a string is like test* or test* ot *test* in if condition (5 Replies)
Discussion started by: johnjerome
5 Replies

6. Shell Programming and Scripting

Test on string containing spacewhile test 1 -eq 1 do read a $a if test $a = quitC then break fi d

This is the code: while test 1 -eq 1 do read a $a if test $a = stop then break fi done I read a command on every loop an execute it. I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test. For example echo hello. Now the... (1 Reply)
Discussion started by: Max89
1 Replies

7. Shell Programming and Scripting

Email a File from UNIX which has Japanese characters in it

Hi, I'm trying to email from UNIX, a file which has Japanese characters in it (i,e. in the contents -- not the filename). The file gets emailed, but the Japanese characters do not show up properly when I open the file on Windows in my Outlook mailbox. I searched a lot of forums but still... (4 Replies)
Discussion started by: jainkirti
4 Replies

8. UNIX for Advanced & Expert Users

Entering Japanese text on Solaris 8

Hi, I have installed the Sun Solaris 8 with Japanese locale. it is able to display the Japanese characters and its environment. However, I have no idea on how to input or enter Japanese characters into this environment. Can someone please enligthen me? Thank you very much and have a... (3 Replies)
Discussion started by: champion
3 Replies

9. Filesystems, Disks and Memory

Memory Test Solaris 2.6

Anyone know of the best tools for the job, I've used vmstat, prtdiag and dmesg but want somehting to really interogate the memory and report. Any ideas ? its on a SUN e6500 :D thanks (2 Replies)
Discussion started by: kie
2 Replies
Login or Register to Ask a Question