Sponsored Content
Full Discussion: Encoding Type
Top Forums UNIX for Dummies Questions & Answers Encoding Type Post 302398427 by jim mcnamara on Wednesday 24th of February 2010 02:32:00 PM
Old 02-24-2010
the locale command shows encoding, if any is set.
Code:
locale

Or are you asking what encoding is available?
Code:
locale -a

 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

String type to date type

Can one string type variable changed into the date type variable. (1 Reply)
Discussion started by: rinku
1 Replies

2. Programming

array type has incomplete element type

Dear colleagues, One of my friend have a problem with c code. While compiling a c program it displays a message like "array type has incomplete element type". Any body can provide a solution for it. Jaganadh.G (1 Reply)
Discussion started by: jaganadh
1 Replies

3. 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

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

Araic Encoding

hi folks , I have a shell script which contain SQL query that dump some data from the DB in arabic and this data is written to a file in unix machine but the problem that the arabic data is appear like ??????????|111|???????? even when I move it to my windows XP machine. Any one have an Idea... (2 Replies)
Discussion started by: habuzahra
2 Replies

6. 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

7. 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

8. 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

9. 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
Catalyst::Plugin::Unicode::Encoding(3pm)		User Contributed Perl Documentation		  Catalyst::Plugin::Unicode::Encoding(3pm)

NAME
Catalyst::Plugin::Unicode::Encoding - Unicode aware Catalyst SYNOPSIS
use Catalyst qw[Unicode::Encoding]; MyApp->config( encoding => 'UTF-8' ); # A valid Encode encoding DESCRIPTION
On request, decodes all params from encoding into a sequence of logical characters. On response, encodes body into encoding. METHODS
encoding Returns an instance of an "Encode" encoding print $c->encoding->name OVERLOADED METHODS
finalize_headers Encodes body into encoding. prepare_uploads Decodes parameters, query_parameters, body_parameters and filenames in file uploads into a sequence of logical characters. prepare_action Decodes request arguments (i.e. "$c->request->arguments") and captures (i.e. "$c->request->captures"). setup Setups "$c->encoding" with encoding specified in "$c->config->{encoding}". handle_unicode_encoding_exception ($exception_context) Method called when decoding process for a request fails. An $exception_context hashref is provided to allow you to override the behaviour of your application when given data with incorrect encodings. The default method throws exceptions in the case of invalid request parameters (resulting in a 500 error), but ignores errors in upload filenames. The keys passed in the $exception_context hash are: param_value The value which was not able to be decoded. error_msg The exception recieved from Encode. encoding_step What type of data was being decoded. Valid values are (currently) "params" - for request parameters / arguments / captures and "uploads" - for request upload filenames. SEE ALSO
Encode, Encode::Encoding, Catalyst::Plugin::Unicode, Catalyst. AUTHORS
Christian Hansen, "ch@ngmedia.com" Masahiro Chiba Tomas Doran, "bobtfish@bobtfish.net" LICENSE
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself. perl v5.14.2 2012-05-09 Catalyst::Plugin::Unicode::Encoding(3pm)
All times are GMT -4. The time now is 11:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy