Sponsored Content
Operating Systems AIX Problem with the Characters!!! Post 302217649 by zaxxon on Wednesday 23rd of July 2008 08:52:31 AM
Old 07-23-2008
Help on what? IMHO it's using a different algorithm to encrypt the pw. What's the problem with that? Need a bit more info.
 

10 More Discussions You Might Find Interesting

1. AIX

problem with Unicode characters insertion

hi, I have a problem with unicode chars ( chinese, japanese etc ) insertion using sqlplus prompt. When i wrote a proc program for it i am able to create records. But when i fore the same query on sql prompt it stores reverse ????? ..some junk. widechar columns are mapped with NVARCHAR datatype.... (0 Replies)
Discussion started by: suman_jakkula
0 Replies

2. HP-UX

utf-8, problem with special characters

Hi all, We are facing the following problem in our HP-UX machine: software that manipulates utf-8 encoded strings (e.g. during string cut), fails to correctly manipulate strings (all containing Greek characters) that contain special characters like @, &, # etc. Actually, in different... (3 Replies)
Discussion started by: alina
3 Replies

3. Shell Programming and Scripting

special characters giving problem

Hi All, I have a CSV file in which some fields contains special character for ex:- my file is file 1 cat file1 abcd,bgfht,ngbht,abvc **** hdlld,hsgdt,bhfy,knht **** whenever i am trying to put a 4th feild in a variable its giving me list of all the files i have in current... (6 Replies)
Discussion started by: sam25
6 Replies

4. Shell Programming and Scripting

Problem with reading characters

Hello, if I try this (in bash): #!/bin/bash cat leercaracter.sh | while read linea do # read character by character echo $linea | while read -n 1 caracter do echo $caracter done done New lines, spaces, tabs aren't showed by echo. How can I 'echo' those characters?... (7 Replies)
Discussion started by: albertogarcia
7 Replies

5. Shell Programming and Scripting

Problem with Sed when repeating characters

Hi all, I'm learning sed (and regular expressions) - My first little program is to replace 3 numbers in a row with 'XXX' This is what I am trying: echo '511' | sed 's/{3}/XXX/' Here is the output: defunct-macbook-pro:~ defunct$ echo '511' | sed 's/{3}/XXX/' 511For some reason, it doesnt... (2 Replies)
Discussion started by: Defunct
2 Replies

6. Solaris

Chinese / Global characters problem

Hello, I have large xml files with chinese characters on a windows box and they need to be FTP'd to UNIX box. When I ftp the file, the chinese text converts to junk characters. I tried changing my setting on putty to UTF-8, but still cannot view the correct text. Is there something I need to... (4 Replies)
Discussion started by: tokool420
4 Replies

7. Shell Programming and Scripting

Problem with Output of escape characters

I'm trying to figure out a problem. I echo a colored block character with this code: echo -e '\E It works. But the challenge is echoing two different blocks with two different colors. I tried everything. Heres what i tried: echo -e '\E Doesn't work. It only echoes the first block.... (2 Replies)
Discussion started by: tinman47
2 Replies

8. Shell Programming and Scripting

Problem with Special characters in file

Hi, I am facing a below problem. Inorder to mak sure the below file is fixed width i am using the following command awk '{printf("%-375s\n", $0) } so as to add trailing spaces at the end for records of length less than 375. Input file > inp.txt 1©1234 1234 123©1 The output file is... (1 Reply)
Discussion started by: marcus_kosaman
1 Replies

9. Shell Programming and Scripting

Problem with special characters....

grep -i "$line,$opline" COMBO_JUNK|awk -F, ' { C4+=$4 } { } END { print C4 } ' OFS=,` when i run this command in the script.... it o/p all the value as 0 if $line contains any special parameters..... but the same script if i run in command prompt... it shows... (4 Replies)
Discussion started by: nikhil jain
4 Replies

10. Shell Programming and Scripting

Control characters -weird problem

I am using Korn shell on Linux 2.6x platform , and I am suing the following code to capture the lines which contain CONTROL CHARACTERS in my file : awk '/]/ {print NR}' EROLLMENT_INPUT.txt The problem is that this code shows the file has control characters when the file is in folder A ,... (2 Replies)
Discussion started by: kumarjt
2 Replies
eucset(1)						      General Commands Manual							 eucset(1)

NAME
eucset - set and get code widths for ldterm SYNOPSIS
HP15-codeset] or or or or [cswidth] ] DESCRIPTION
The command sets or gets (reports) the encoding and display widths of the Extended UNIX Code (EUC), UCS Transformation Format (UTF8), or GB18030 characters processed by the current input terminal. EUC is an encoding method for codesets composed of single or multiple bytes. EUC permits applications and the terminal hardware to use the 7-bit US ASCII code and up to three single byte or multibyte codesets simul- taneously. ldterm is a STREAMS terminal line discipline module which obtains codeset information from See ldterm(7). The cswidth value defines the character widths for codesets. If cswidth is not implicitly or explicitly defined by passing no argument to the command, the cswidth value is determined by the following criteria in descending priority: 1. Use the cswidth value stored in the current locale, if defined. 2. Use predefined cswidth values if the codeset name defined in the locale is GB18030, UTF8, or one of the four HP15 codesets. 3. Use the environment variable if defined and in the correct format. 4. Use 7-bit US ASCII as the default codeset and its cswidth value. This command must be used to specify EUC or non-EUC codesets, whether they are single byte or multibyte. However, the command can correctly set the cswidth parameter without using any options in most cases except for ASIAN_UTF8. See the section for special warnings on the val- ues of the cswidth argument. For the GB18030, ASIAN_UTF8, or UTF8 setting, use the option. Options The command recognizes the following options and arguments: Displays the current settings of the EUC character widths for the terminal. Sets the width to one of the four HP15 codesets, or or The HP15 codesets supported are and cswidth Defines the character widths for codesets 1 through 3. See the section in this manpage for more information. EUC Code Set Classes EUC divides codesets into four classes. Each codeset has two characteristics: the number of bytes for encoding the characters in the code- set, and the number of display columns to display the characters in the codeset. All characters within a codeset possess the same charac- teristics. ASIAN_UTF8 is used for setting double width display, and UTF8 is used for single width. o Codeset 0 consists of all 7-bit, single byte ASCII characters. The most significant bit of each of these characters is 0 (zero). Characters in codeset 0 require one byte for encoding, and occupy one display column. These values are fixed for codeset 0 (zero). The 7-bit US ASCII code is the primary EUC codeset, which is available to users without direct specification. o Codeset 1 is a supplementary EUC codeset. Codeset 1 characters have an initial byte whose most significant bit is 1. Characters in codeset 1 may require more than one byte for encoding, and may require more than one display column. The command must be used to set the characteristics for codeset 1. o Codesets 2 and 3 are supplementary EUC codesets. Characters in these codesets have an initial byte of SS2 or SS3, respectively. They require more than one byte for encoding, and may require more than one display column. The command must be used to set the characteristics for codesets 2 and 3. The cswidth argument in the command line is a character string that describes the character widths for codesets 1 through 3. This command does not allow the user to modify the settings for codeset 0. The character string is of the following format: X1[:Y1],X2[:Y2],X3[:Y3] X1 The number of bytes required to encode a character in codeset class 1. Y1 The number of display columns needed to display characters in this class. X2 The number of bytes required to encode a character in codeset 2, not counting the SS2 byte, Y2 The number of display columns for codeset 2 characters. X3 The number of bytes needed to encode characters in codeset 3, not counting the SS3 byte, Y3 The number of display columns required for these characters. The values for the column widths may be omitted if they are equal to the number of encoding bytes. If the encoding value of any of the EUC codesets is set to (zero), then the codeset does not exist. See the section for special warnings on the values of the cswidth argument. If no cswidth argument is supplied, the command uses the value of the environment variable. If this variable is not present, the following default string is substituted: This default string designates that the environment uses a single byte EUC codeset that has characters in the EUC codeset 1 format. If the environment uses a multibyte EUC codeset in the codeset 1 format, single byte or multibyte EUC codesets in the codeset 2 or 3 format, or both, the default setting cannot be used. EXTERNAL INFLUENCES
Environment Variables Provide a default value for the internationalization variables that are unset or null. If is not specified or is set to the empty string, a default of (see lang(5)) is used instead of If any of the internationalization variables contain an invalid setting, behaves as if all internation- alization variables are set to See environ(5). If set to a nonempty string value, override the values of all other internationalization variables. Determines the locale that should be used to affect the format and contents of diagnostic messages written to standard error and informative messages written to standard output. Determines the location of message catalogs for the processing of EXAMPLES
To display the encoding and display widths for the EUC codesets 1 to 3 in your environment, enter: Assuming has been previously used to set for the entry generates the following: To change the current settings of the encoding and display widths for the EUC characters in codesets 1 and 2 to two bytes each, enter one of the following: To set the encoding and display widths for the EUC characters in the locale enter: For enter: For enter: To set the code width to that of enter: To set the code width to that of enter: To set the code width to that of enter: WARNINGS
The cswidth argument does not include the SS2 or SS3 bytes in the byte width values. This command is not specified by standards, may not be available on other vendor's systems, and may be subject to change or obsolescence in a future release. AUTHOR
was developed by OSF and HP. SEE ALSO
dtterm(1), ldterm(7). eucset(1)
All times are GMT -4. The time now is 02:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy