08-06-2011
Could you run
Quote:
lslpp -l | grep -i codepoint.cat
It should give you two returns. If not you might need to install bos.msg.en_us.rte
I have got it from
here and it seems it helped.
I just noticed that file of yours /usr/lib/nls/msg/en_US/codepoint.cat is empty. I am not sure if it should be I don't have right now access to lpar to check it out.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello World,
When I issue the errpt command
1581762B 0826133303 T H hdisk1 DISK OPERATION ERROR
C14C511C 0826133303 T H scsi0 ADAPTER ERROR
I found these two unusual errors, wat exactly do these mean ?
Im on an aix box.
Thanks (3 Replies)
Discussion started by: cubicle^dweller
3 Replies
2. UNIX for Dummies Questions & Answers
Hi
I have a script executing fine in Unix but in linux I am getting different result.
I have three files under /local/home/temp/Gen
test.sh
list.txt
shst.txt
Contents of test.sh
--------------------------
#!/bin/ksh
K=0;
SCRIPT_DIR=/local/home/temp/Gen
cat... (2 Replies)
Discussion started by: malavm
2 Replies
3. AIX
Hello
I have this message from errpt command
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
BFE4C025 0803155809 P H sysplanar0 UNDETERMINED ERROR
BFE4C025 0802155509 P H sysplanar0 UNDETERMINED ERROR
BFE4C025 0801155209 P H sysplanar0 UNDETERMINED ERROR
BFE4C025 ... (6 Replies)
Discussion started by: lo-lp-kl
6 Replies
4. Shell Programming and Scripting
Hi,
I am new to shell scripting and my below script is not giving result for 2 or more arguments. Can anyone help pls.
#!/bin/sh
sname=$(basename $(readlink -nf $0))
echo "This is $sname, running at $(date)"
echo "It is running on $(hostname)"
echo "Script being run by"
echo " User... (3 Replies)
Discussion started by: baigmd
3 Replies
5. Emergency UNIX and Linux Support
The below is my code
in general according to AIX books
To display a detailed report of all errors logged in the past 24 hours, enter:
errpt -a -s mmddhhmmyy
where the mmddhhmmyy string equals the current month, day, hour, minute, and year, minus 24 hours.
I have tried the... (2 Replies)
Discussion started by: Sounddappan
2 Replies
6. Programming
I have five classes. 2 composition classes,1 aggregation class and 1 dependency class.I have coded all the classes but one of my test program is not giving me the expected result.I have the following classes:
TimeStamp
Interval (composition of 2 TimeStamps)
TimeSheet ( aggregation of many... (3 Replies)
Discussion started by: moraks007
3 Replies
7. Shell Programming and Scripting
Hi Guys,
I am developing a script to monitor GUI based FileNet Component "Component Manager" which logs it's running status in a log file.
Log file is a huge file so in script I put last 300 lines of log file in seperate file and run script every 5 minutes.
I am searching the string... (2 Replies)
Discussion started by: dhirajdsharma
2 Replies
8. Shell Programming and Scripting
Hi Gurus,
I have requirement to compare current result with previous reuslt.
The sample case is below.
1 job1 1
1 job2 2
1 job3 3
2 job_a1 1
2 job_a2 2
2 job_a3 3
3 job_b1 1
3 job_b2 2
for above sample file, GID is group ID, for input line, the job run... (1 Reply)
Discussion started by: ken6503
1 Replies
9. Shell Programming and Scripting
Hello,
I am running below command as root user
#nodetool cfstats tests | grep "Memtable switch count"
Memtable switch count: 12
Where as when I try to run same command as another user it gives different result.
#su -l zabbix -s /bin/bash -c "nodetool cfstats tests | grep "Memtable switch... (10 Replies)
Discussion started by: Pushpraj
10 Replies
10. Shell Programming and Scripting
Hi,
i have a source file and have 3 columns and separated by "|" .i want to split this 3 columns in different variable.When i am executing this values indivisually giving correct result but when the same execute inside a for loop,it's giving issues.
Src file(jjj.txt)
-------... (8 Replies)
Discussion started by: raju2016
8 Replies
iconv(1) General Commands Manual iconv(1)
NAME
iconv - Converts encoded characters to another codeset
SYNOPSIS
iconv -f from_code -t to_code [file...]
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
iconv: XCU5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
OPTIONS
Specifies the input codeset. Specifies the output codeset.
OPERANDS
Specifies one or more files that contain the data to be converted. If this operand is omitted, the standard input is used.
DESCRIPTION
The iconv command converts the encoding of characters in file from one coded character set to another and writes the results to standard
output.
The input and output coded character sets are identified by from_code and to_code. If the file operand is not specified on the command
line, the iconv command reads the standard input. The result of specifying invalid characters in the input stream is that the input value
is translated to the substitute character.
[Tru64 UNIX] Current industry standards do not specify the name format, implementation, and location of the codeset converters used by
this command. On this operating system, the command searches directories of algorithmic and table converters to find one that performs the
requested conversion. The names of codeset converters adhere to the following format: fromcode_tocode
EXIT STATUS
Success. An error occurred.
ERRORS
[Tru64 UNIX] You can view the diagnostic messages that may be returned by the iconv command by entering the following commands: cd
/usr/lib/nls/msg/en_US.ISO8859-1 dspcat iconv.cat
EXAMPLES
The following examples use the iconv command: To convert the contents of the eucJP_data file from the eucJP to the SJIS codeset and save
the results in the sjis_data file, enter: iconv -f eucJP -t SJIS eucJP_data > sjis_data To convert the contents of the eucJP_data file from
the eucJP codeset to the UCS-4 codeset and save the results in the UCS_4_data file, enter: iconv -f eucJP -t UCS-4 eucJP_data > UCS_4_data
ENVIRONMENT VARIABLES
The following environment variables (see i18n_intro(5) and l10n_intro(5)) affect the execution of the iconv command: Specifies a default
value for the locale category variables that are not set. If set to a nonempty string value, overrides the values of all other locale
variables, including LANG. Determines the locale for interpreting byte sequences as characters in, for example, command parameters. Spec-
ifies the locale used to find translations, if any, for the command's message catalogs. [Tru64 UNIX] Specifies the search path used to
find locales and the subdirectories that contain codeset converters. The default is /usr/lib/nls/loc. Determines the location of message
catalogs for the processing of LC_MESSAGES.
FILES
[Tru64 UNIX] Algorithmic converters. [Tru64 UNIX] Table converters.
SEE ALSO
Commands: genxlt(1)
Functions: iconv(3), iconv_close(3), iconv_open(3)
Others: i18n_intro(5), iconv_intro(5), l10n_intro(5), standards(5)
Writing Software for the International Market
iconv(1)