Sponsored Content
Full Discussion: Araic Encoding
Top Forums Shell Programming and Scripting Araic Encoding Post 302317018 by jim mcnamara on Sunday 17th of May 2009 06:48:55 PM
Old 05-17-2009
You set (or your DBA set) NLS to Arabic, right?
You set the locale for your process running the SQL to Arabic? UTF16 at least. Since you mention Windows I'm assuming unicode:

A Quick Primer On Unicode and Software Internationalization Under Linux and UNIX
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

encoding

Hi, I'm using putty and when I try to write ü it writes | (or when I try to write é , it writes i) I tried to change settings/translation of putty but with no success I have KSH # locale LANG= LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C"... (3 Replies)
Discussion started by: palmer18
3 Replies

2. Shell Programming and Scripting

URL encoding

Hi All, I want to do URL encoding using shell script in my project. I decided that the sed is the correct tool to do this. But I am unable achieve what I wanted using sed. kindly help me to get rid of this. My requirement is , there will be one URL with all special character, spaces etc... ... (8 Replies)
Discussion started by: Vichu
8 Replies

3. Shell Programming and Scripting

get the file encoding

Hello! The system is AIX 5.3 Give please command or script to get the file encoding Thanks (2 Replies)
Discussion started by: vinment
2 Replies

4. AIX

get the file encoding

Hello! The system is AIX 5.3 Give please command or script to get the file encoding (1 Reply)
Discussion started by: vinment
1 Replies

5. Shell Programming and Scripting

Encoding troubles

Hello All I have a set of files, each one containing some lines that follows that regex: regex='disabled\,.*\,\".*\"'and here is what file says about each files: file <random file> <random file> ASCII text, with CRLF line terminatorsSo, as an example, here is what a file ("Daffy Duck - The... (3 Replies)
Discussion started by: tukuyomi
3 Replies

6. UNIX for Dummies Questions & Answers

Encoding Type

Hi, Where can I find the encoding type in a unix server ? Thanks in advance !!! (1 Reply)
Discussion started by: risshanth
1 Replies

7. Shell Programming and Scripting

UTF8 encoding

Hi experts, I have a gz file from other system(solaris), which is ftped to our system(solaris). After gunzip, the file is a xml file and we are using ORACLE built in xml transformiing tool ORAXSL to transform XML to TXT. Now the issue is we come accross issue regarding UTF8 as below:... (1 Reply)
Discussion started by: summer_cherry
1 Replies

8. Shell Programming and Scripting

How to find the file encoding and updating the file encoding?

Hi, I am beginner to Unix. My requirement is to validate the encoding used in the incoming file(csv,txt).If it is encoded with UTF-8 format,then the file should remain as such otherwise i need to chnage the encoding to UTF-8. Please advice me how to proceed on this. (7 Replies)
Discussion started by: cnraja
7 Replies

9. Solaris

Encoding problem

Hi All, Hope you can help me with the below :). I'm working on a script on SUN solaris and I'm facing a problem with the number encoding as shown below, 1 is encoded to 31 (this is ASCII so it's ok) 11 is encoded as B118 !!! don't know why 111 is encoded as B1580C !!! don't know why ... (4 Replies)
Discussion started by: /dev/bag
4 Replies

10. Solaris

View file encoding then change encoding.

Hi all!! I´m using command file -i myfile.xml to validate XML file encoding, but it is just saying regular file . I´m expecting / looking an output as UTF8 or ANSI / ASCII Is there command to display the files encoding? Thank you! (2 Replies)
Discussion started by: mrreds
2 Replies
CVTENC(1)						       GNUstep System Manual							 CVTENC(1)

NAME
cvtenc - file encoding converter SYNOPSIS
cvtenc [-Encoding encoding] [-EscapeIn yes|NO] [-EscapeOut yes|NO] filename DESCRIPTION
Converts a file encoded in a specified or default non-unicode encoding to unicode (UTF16), or, if the file is already in unicode, converts it to a specified or default non-unicode encoding. The converted text is printed to standard out. If the filename is a hyphen then this tool reads from standard input. OPTIONS
-Encoding encoding Specify non-unicode encoding to be used. The direction of conversion depends on whether the file given as input is recognized as uni- code (from the higher order bytes). To get a list of available encodings, enter "list" for the encoding. If this is not specified, the default encoding for the current locale is used. -EscapeIn YES|NO Specify '-EscapeIn YES' (the default is 'NO') to parse the input for u escape sequences (as in property lists). -EscapeOut YES|NO Specify '-EscapeOut YES' (the default is 'NO') to generate u escape sequences (as in property lists) in the output. Note, this might produce unexpected results for some encodings. -Unicode IN|OUT Specify '-Unicode IN' (or '-Unicode OUT') to control the direction of conversion rather than having the tool guess it on the basis of the content it reads. Using '-Unicode IN' means that the tool reads UTF16 data and writes C-String data, while using '-Unicode OUT' merans that the tool reads C-String data and writes UTF16 data. HISTORY
Written in 2002. Minr update in 2010. This manual page first appeared in gnustep-base 1.9.2 (March 2004). AUTHORS
cvtenc was written by Richard Frith-Macdonald <rfm@gnu.org> GNUstep February 2004 CVTENC(1)
All times are GMT -4. The time now is 02:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy