04-29-2013
What are the encoding schemes on both machines? You'll have to either switch one of the encoding schemes or to convert the file (recode, iconv, dos2unix, ...)
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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. UNIX for Dummies Questions & Answers
Hi,
Im trying to find and replace text within a unix file using sed.
The command that i have been using is
sed '/,null,/ s//, ,/g' result.txt>result.tmp
for replacing ",null," with ", ,".
But this only replaces the first occurrance of ,null, in every line. I want to do it globally.
It... (7 Replies)
Discussion started by: sohaibs
7 Replies
3. AIX
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
4. Shell Programming and Scripting
Hi,
I am trying to format the output of my script in a tabular format
using the html code in my shell script.
I am using html code for the first time in a shell script.I am trying to execute this script in Ksh but it is not getting executed.
Can you please help me in figuring this out.... (6 Replies)
Discussion started by: isaacsam
6 Replies
5. UNIX for Dummies Questions & Answers
Hi,
Where can I find the encoding type in a unix server ?
Thanks in advance !!! (1 Reply)
Discussion started by: risshanth
1 Replies
6. UNIX for Dummies Questions & Answers
Hi!
I've got a shell account on a FreeBSD machine. It doesn't have 'vim' installed, but only the original 'vi' text editor ("Version 1.79 (10/23/96) The CSRG, University of California, Berkeley.")
So, in PuTTY I've chosen "UTF-8 translation" to have my non-english characters appear correctly.... (2 Replies)
Discussion started by: Gew
2 Replies
7. Shell Programming and Scripting
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. UNIX for Dummies Questions & Answers
Hi, I wanted to select the text in gvim using mouse for coping. some times it works fine and full text will be selected and copied to clipboard if it is like shown in first fig. Paste of the copied text can be done by clicking the middle mouse button.
But some times the text will be selected as... (2 Replies)
Discussion started by: twistedpair
2 Replies
9. Solaris
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 PHP
px_set_targetencoding
PX_SET_TARGETENCODING(3) PX_SET_TARGETENCODING(3)
px_set_targetencoding - Sets the encoding for character fields (deprecated)
SYNOPSIS
bool px_set_targetencoding (resource $pxdoc, string $encoding)
DESCRIPTION
Set the encoding for data retrieved from a character field. All character fields will be recoded to the encoding set by this function. If
the encoding is not set, the character data will be returned in the DOS code page encoding as specified in the database file. The $encoding
can be any string identifier known to iconv or recode. On Unix systems run iconv -l for a list of available encodings.
This function is deprecated and should be replaced by calling px_set_parameter(3).
See also px_get_info(3) to determine the DOS code page as stored in the database file.
PARAMETERS
o $pxdoc
- Resource identifier of the paradox database as returned by px_new(3).
o $encoding
- The encoding for the output. Data which is being read from character fields is recoded into the targetencoding.
RETURN VALUES
Returns FALSE if the encoding could not be set, e.g. the encoding is unknown, or pxlib does not support recoding at all. In the second
case a warning will be issued.
SEE ALSO
px_set_parameter(3)
PHP Documentation Group PX_SET_TARGETENCODING(3)