03-12-2011
Hi,
you probably still need the english UTF-8 locales installed. The English UTF-8 locale is required for all languages and the localized UTF-8 locale is required for each non-English language that will be used if you want to use national language characters.
What is locale -a showing on your server?
Regards
zxmaus
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can anyone tell me the difference between the 2 Locales:
North American Partial Locales
en_US.ISO8859-1
en_US.ISO8859-15
Does it matter which one to use?
What are the differences?
Thanks.
-I have found the below info but I don't know what it means(Also no RFC# for 8859-15):
... (2 Replies)
Discussion started by: finster
2 Replies
2. AIX
Currently we have the following locales installed on two of our servers
SERVER-1
$ locale -a
C
POSIX
en_US
en_US.8859-15
en_US.ISO8859-1
EN_US
EN_US.UTF-8
ZH_CN
ZH_CN.UTF-8
HI_IN
HI_IN.UTF-8
ko_KR
ko_KR.IBM-eucKR
zh_TW
zh_TW.IBM-eucTW
SERVER-2 (0 Replies)
Discussion started by: voorkey
0 Replies
3. Shell Programming and Scripting
I am trying to transpose tables listed in the format into format. Any help would be greatly appreciated.
Input:
test_data_1
1 2 90%
4 3 91%
5 4 90%
6 5 90%
9 6 90%
test_data_2
3 5 92%
5 4 92%
7 3 93%
9 2 92%
1 1 92%
...
Output:... (7 Replies)
Discussion started by: justthisguy
7 Replies
4. AIX
Hello,
I'm working with an AIX 5.3
This server receive emails from an application (ServiceDesk management) and these emails are read and integrated in another application via an EAI. I work for a french company with french people that write in french : with accentued characters (é,ç,à,...). Sadly,... (2 Replies)
Discussion started by: Djizus
2 Replies
5. Shell Programming and Scripting
I'm having a problem with my locale setting.
Essentially, when using Xmgrace or Awk, all . are replaced with ,
leading to wrong arithmetic.
Here is an explanation of the problem:
awk printing thousands with commas. see LC_ALL=en_US.UTF-8
How can I permanently set the locale... (1 Reply)
Discussion started by: chrisjorg
1 Replies
6. IP Networking
I am using Squid to create a proxy server for framework related to an application. My users sit on a private network in 191.xx.xx.xx space and my proxy sits in a different private network in 188.xx.xx.xx space. There will be a NAT in place to allow bidirectional communications but is there an... (5 Replies)
Discussion started by: BobSpero
5 Replies
7. Linux
I have a .CSV file when I check for the special characters in the file using the command cat -vet filename.csv, i get very lengthy lines with "^@", "^I^@" and "^@^M" characters in between each alphabet in all of the records. Using the code below file filename.csv I get the output as
I have a... (2 Replies)
Discussion started by: dhruuv369
2 Replies
8. UNIX for Beginners Questions & Answers
Hi,
Does anyone know if there is a script or program available out there that uses a conversion table to replace special characters from a file?
I am trying to remove some special characters from a file but there are several unprintable/control characters that some I need to remove but some I... (2 Replies)
Discussion started by: newbie_01
2 Replies
mbsinit(3) Library Functions Manual mbsinit(3)
NAME
mbsinit - Determines whether a multibyte-character string is in the initial conversion state
LIBRARY
Standard C Library (libc)
SYNOPSIS
#include <wchar.h>
int mbsinit(
const mbstate_t *ps);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
mbsinit(): XSH5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Points to an mbstate_t object, which describes the conversion state of the current character in the string being converted. The initial
conversion state for conversion in either direction (multibyte to wide-character format or the reverse) corresponds to the beginning of the
character's multibyte encoding sequence in the initial shift state as defined by the LC_TYPE category of the current locale.
DESCRIPTION
The mbsinit() function determines whether the sequence of characters being converted is in the initial conversion state; that is, the func-
tion determines whether the multibyte encoding for the current character in this sequence is in the initial shift state as defined by the
LC_TYPE category of the current locale. The application can use a zero return, which indicates that the character sequence is not in ini-
tial conversion state, to initiate a conversion operation.
Use this function along with the restartable conversion functions (mbrlen, mbrtowc, wcrtomb, mbsrtowcs, wcsrtombs) to convert between
multibyte-character and wide-character format. Only restartable conversion functions use an mbstate_t parameter, such as ps. Therefore,
results are undefined when restartable and nonrestartable conversion functions operate on the same arrays of characters during a conversion
operation. Results are also undefined when ps is first altered by any of the restartable conversion functions and then used by another call
in any of the following ways: With a different sequence of characters In the reverse conversion direction Under a different LC_CTYPE set-
ting than on earlier function calls
RESTRICTIONS
[Tru64 UNIX] The mbsinit() function and restartable versions of conversion routines are functional only when used with locales that sup-
port shift state encoding. Currently, the operating system does not provide any locales that use shift state encoding and the mbsinit()
function returns a nonzero value only to indicate that *ps is a null pointer.
RETURN VALUES
The mbsinit() function returns a nonzero value if *ps is a null pointer or ps describes an initial conversion state; otherwise, the func-
tion returns zero.
RELATED INFORMATION
Functions: mblen(3), mbstowcs(3), mbtowc(3), wcstombs(3), wctomb(3)
Files: locale(4) delim off
mbsinit(3)