What is your LANG setting?? What LANG setting does the remote computer use? awk is barfing on locale (LANG encoding)
-- because it thinks that leading character means something.
You can see the hex for the problem character: (Linux example)
-- The very first hex entry.
If the character were a BOM for 16bit encoding and it was wrong the whole file would be garbage. So, I think Scrutinizer is correct.
I have a file with one of the following lines, when opened with vi
33560010686GPT£120600GBPGBP10082007DS
In the above line, I want to get rid of the junk character before the £ (pound sysmbol).
When I tried copying £ from windows and copy in unix vi, it prints as £ and I tried pattern replace... (2 Replies)
Hi
set filename "./GopiRun.sh"
if } err] {
writeLog "error in exec "
writeLog $a
} else {
writeLog $a
}
The above code will execute a file GopiRun.sh,and will log the output of the exec to a file.
The problem is the file has lot of junk character in it,how to avoid it.
The... (2 Replies)
Hi Team,
I have a file having size greater than 1 GB. What i want to do is to check if it contains any JUNK character (ie any special charater thats not on the key board stroke). This file has 532 column & seperated with ^~^.
I have found some solution from the file, but it is for a... (4 Replies)
Hi,
Is it possible to download a file using Wget or some other command from a Windows machine?
Say I want to download something from
https server
to C:\ABC\abc.xls
Any ideas,
Thanks. (4 Replies)
Hello Is there a way to calculate how many times a particular symbol appeared in a string before a particular word.
Desktop/Myfiles/pet/dog/puppy
So, I want to count number of occurence of"/" in this directory before the word dog lets say.
Cheers,
Bob (3 Replies)
Hello,
I have two .sql files which I transferred from Windows to Unix (Linux Enterprise Linux Server release 5.3).I want to ensure that these two files have no junk characters in them.How do I do it in the simplest possible way?
Many thanks
DJ (1 Reply)
Dear ALL,
How to remove junk charecter ^M from unix file i am using sun solaris unix.
I already tried few commands
:%s/^M//g
:%s/r//g
but it didnt helped me.
Any help appriciated.
Thanks
Ripudaman
Please view this code tag video for how to use code tags when posting code... (5 Replies)
RedHat Linux 5.8/Korn Shell
I have text file name /etc/oracle/config.loc. It has the following text
#Device/file getting replaced by device +OCR
ocrconfig_loc=+DATA
ocrmirrorconfig_loc=+OCRBut , when I open this file using cat , the PS1 character (for prompt) appears as the last character... (8 Replies)
Hi
I want to know how to see junk character in a file.
i am not able to see junk character using vi or cat command.
below is the junk char . which i see in host file
10.178.14.67▒▒▒ ac01sp02-vip
actually it should be like this
10.178.14.67 ac01sp02-vip
i am using secure CRT... (11 Replies)
Hello All,
I have issues in unix file when I loaded that to database and do select * from table where description like '%'+char(13)+'%' on it I am able to get records. I tried to view the file in unix it is all having blank character which I think is all non ascii which I am not able view.... (11 Replies)
Discussion started by: arunkumar_mca
11 Replies
LEARN ABOUT DEBIAN
ne_i18n_init
NE_I18N_INIT(3) neon API reference NE_I18N_INIT(3)NAME
ne_i18n_init - functions to initialize internationalization support
SYNOPSIS
#include <ne_i18n.h>
void ne_i18n_init(const char *encoding);
DESCRIPTION
The ne_i18n_init function can be used to enable support for translated messages in the neon library. The encoding parameter, if non-NULL,
specifies the character encoding required for generated translated string. If it is NULL, the appropriate character encoding for the
process locale will be used.
This call is only strictly necessary if either:
1. neon has been installed into a different prefix than the gettext implementation on which it depends for i18n purposes, or
2. the caller requires that translated messages are in a particular character encoding.
If ne_i18n_init is never called, the message catalogs will not be found if case (a) applies (and so English error messages will be used),
and will use the default character encoding specified by the process locale. The library will otherwise operate correctly.
Note that the encoding used is a process-global setting and so results may be unexpected if other users of neon within the process call
ne_i18n_init with a different encoding parameter.
SEE ALSO
ne_sock_init
AUTHOR
Joe Orton <neon@lists.manyfish.co.uk>
Author.
COPYRIGHT neon 0.29.6 3 May 2011 NE_I18N_INIT(3)