04-18-2009
Thanks for the reply.
We are using putty. With this interface we tried to change the character set ..we didnt get proper data ....
Is there any other interface like if we use other interface it is possible to view the data properly...please suggest...
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
We have problems with the latin 2 Character-set with xterm.
We have installed SunRay-Server with Solaris 8. Our Thinclients use hu- and cz-keyboards. I have set the right local-settings and xmodemaps. If I use the dtterm all is running fine. As soon as I use the xterm, it cannot display... (0 Replies)
Discussion started by: paho
0 Replies
2. Programming
hi ,
i am trying to work on a script that transforms some special Dutch characters and send them to a Xerox printer ..
the problem is that while doing so iam unable to identify th correct character set that is used by solaris , to transfer these characcters to Xerox character set .
thanks... (2 Replies)
Discussion started by: ppass
2 Replies
3. UNIX for Advanced & Expert Users
I am forced to use the ANSEL character set for some GEDCOM documents but must convert them to a more modern set for another app which doesn't recognize ANSEL. I am unable to locate an ISO code for ANSEL in a search of the web. Would someone plese identify the ANSEL character set from the list given... (4 Replies)
Discussion started by: Whiterock
4 Replies
4. Programming
Hi,
Could anybody explain how to change the character set of a particular string in C in unix. we are using HP-UX as OS. We require to change the input string which is in cp1250 format to utf-8.
A sample code would help. Thnx in advance (1 Reply)
Discussion started by: gucho
1 Replies
5. Solaris
dears
i am using solaris 10
i am facing a problem when i make setup for solaris i choose the country egypt and i select the language north america
but i forget to do that the i found the date Jun written in arabic
i want to change character set to written in english
-rw-r--r-- 1 root ... (4 Replies)
Discussion started by: hosney00ux
4 Replies
6. UNIX for Advanced & Expert Users
I thought I would point this out. This has a lot of the non printing characters.
ASCII Character Set (7 Replies)
Discussion started by: cokedude
7 Replies
7. Shell Programming and Scripting
Hi All,
"Please read the below information carefully."
i have tried the below code for counting the number of lines present in text file ignoring blank lines
#! /bin/bash
clear
rdCount=0;
while read myline
do
if ; then
echo "line is empty"
else
echo $myline
let... (10 Replies)
Discussion started by: aish11
10 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I'm trying to edit a file with vi, but all special characters (αινσϊ etc) don't seem to show correctly. They don't seem to be supported by the OS (SunOS 5.10).
I'm using MobaXterm as the terminal emulator, which is configured to use ISO-8859-1. The same charset is used on Solaris.
If I open... (4 Replies)
Discussion started by: Subbeh
4 Replies
9. Shell Programming and Scripting
Hello,
I created the following (snippet from larger code):
echo -n "A1: "
read A1
VERIFY=$(echo -n $A1|wc -c)
if ; then
echo -e "TOO MANY CHARACTERS"
fi
echo -n "A2: "
read A2
echo -n "A3: "
read A3
echo -e "Concat: $B1/$B2/$B3"
Basically what it does is it... (4 Replies)
Discussion started by: jl487
4 Replies
10. UNIX for Advanced & Expert Users
Hi All,
I'm facing issue while opening xls file while contains Russian/Siberian character
I tried various options which I could get from google but still issue persists hence thought of taking help here,
We are trying to export data from Oracle via shell script using sqlplus utility. After... (8 Replies)
Discussion started by: arvindshukla81
8 Replies
MBLEN(3) Linux Programmer's Manual MBLEN(3)
NAME
mblen - determine number of bytes in next multibyte character
SYNOPSIS
#include <stdlib.h>
int mblen(const char *s, size_t n);
DESCRIPTION
If s is not a NULL pointer, the mblen() function inspects at most n bytes of the multibyte string starting at s and extracts the next com-
plete multibyte character. It uses a static anonymous shift state only known to the mblen() function. If the multibyte character is not
the null wide character, it returns the number of bytes that were consumed from s. If the multibyte character is the null wide character,
it returns 0.
If the n bytes starting at s do not contain a complete multibyte character, mblen() returns -1. This can happen even if n is greater than
or equal to MB_CUR_MAX, if the multibyte string contains redundant shift sequences.
If the multibyte string starting at s contains an invalid multibyte sequence before the next complete character, mblen() also returns -1.
If s is a NULL pointer, the mblen() function resets the shift state, only known to this function, to the initial state, and returns nonzero
if the encoding has nontrivial shift state, or zero if the encoding is stateless.
RETURN VALUE
The mblen() function returns the number of bytes parsed from the multibyte sequence starting at s, if a non-null wide character was recog-
nized. It returns 0, if a null wide character was recognized. It returns -1, if an invalid multibyte sequence was encountered or if it
couldn't parse a complete multibyte character.
CONFORMING TO
C99.
NOTES
The behavior of mblen() depends on the LC_CTYPE category of the current locale.
The function mbrlen(3) provides a better interface to the same functionality.
SEE ALSO
mbrlen(3)
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU
1999-07-25 MBLEN(3)