Unix/Linux Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

NCurses not handling hindi half character correctly

UNIX for Advanced & Expert Users


Tags
hindi, ncurses, virtual terminal

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 2 Weeks Ago   -   Original Discussion by syed.waris
syed.waris's Unix or Linux Image
syed.waris syed.waris is offline
Registered User
 
Join Date: May 2018
Last Activity: 14 May 2018, 12:48 AM EDT
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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 character.


For example (if typed in following sequence):
'क' 'स' ' ्' 'ट' : This will transform the second character into half and the complete representation will be कस्ट


After typing the above 4 characters I want them to be present (echoed) on the terminal. But instead, I get (in terms of unicode):

915 938 91f


Expected (in terms of unicode):

915 938 94d 91f


Configuration:
1. /etc/defaultconsole-setup. This file contains FONT='lat9-16.psf.gz /home/syed/Desktop/devanagari16.psf'. And the virtual terminal is configured by running sudo setupcon -v
2. Virtual terminal converted to hindi keyboard using :
sudo dpkg-reconfigure keyboard-configuration
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Handling Invisible character in a file cnraja Shell Programming and Scripting 4 01-14-2011 02:24 AM
Japanese and Hindi test want to insert on file on Solaris 10 Arif29march Solaris 14 04-27-2010 10:43 AM
Null Character Handling npk2210 Shell Programming and Scripting 3 09-29-2007 04:51 AM



All times are GMT -4. The time now is 04:44 AM.