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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
catalyst::plugin::unicode::encoding
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)