10-11-2005
Utf8-utf16
Hi All,
When we create a flat file using a PLSQL program , the flat file is
being created in UTF8 format.This file has lot of german characters.When
we use this file to load data into MS SQL Server, the german characters
are coming as junk. When we create a flat file in oracle it is being
created in UTF-8 format only.Is there a way of converting the UTF8 file
to UTF16 file or can we create the flat file in UTF 16 directly. Any
pointers in this regard will be appreciated.
I tried using adncnv but its giving an error
Invalid destination character set: UTF16[U]
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All
I need help on how to handle utf8 strings (match, split etc.) in Perl. Thanks in advance. (2 Replies)
Discussion started by: my_Perl
2 Replies
2. Shell Programming and Scripting
Hi,
I have a file in my desktop which is a unicode format. After this file is transferred to Unix using FTP, we are seeing some special character (like rectangle box type) at the first line. The same file is saved as UTF8 (using textpad tool, selecting encode to UTF-8 option) on my desktopand... (7 Replies)
Discussion started by: vfrg
7 Replies
3. Shell Programming and Scripting
Hello all,
I'd like to replace "," by "/" in a utf8 file from postion X to Y. Comma "," is also defined as delimiter.
12345678901234567890,123456789012345,12345678901234567890,
aaaa,aaaa,aaaaa ,bbb,bbbb,bbbbb ,cccccc,cc ,
Result should be... (1 Reply)
Discussion started by: fmofmo
1 Replies
4. Linux
Hi everyone!
I want to change the default font size of xterm. I tried appending the following line in .Xresources
xterm -fn -*-fixed-medium-*-*-*-14-*-*-*-*-*-*-*
The size changes, but when I try to write in greek, nothing is printed on the screen. I tried appending a similar line to... (0 Replies)
Discussion started by: kerb41
0 Replies
5. Shell Programming and Scripting
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
6. Shell Programming and Scripting
All,
I have several *.dat files which is created in windows (ANSI Endoing) Or PC File format, once I copy those files to unix.
How can I convert those file to utf8 encoding ?
I tired iconv, it says not supported
Please help
Thanks
- S (5 Replies)
Discussion started by: Shanks
5 Replies
7. Debian
Hello,
I'm facing a strange problem in one of my Debian server, what is happening right now it that I have runned dpkg-reconfigure locales to set en_US UTF-8 so in that way I could use accentuation in my system.
# locale -a
C
en_US.utf8
POSIX
pt_BR.utf8
However, when I create a new... (12 Replies)
Discussion started by: pxb368@motorola
12 Replies
8. UNIX for Advanced & Expert Users
Hi
Im migrating a few websites from my old webserver (CentOS-5) to a new server (CentOS6) , one of these websites is multilingual and has a lot of utf8 files(html,php) with different languages (i.e arabic, persian, russian ,etc).
In old server when i do:
file mailer.php
I get :
... (6 Replies)
Discussion started by: mohs3n
6 Replies
9. Linux
Hey i try to create empty text file with utf-8 encoding
without success
what is the right way to do this ?
tried with
touch test.txt
iconv -f UTF-8 -t UTF-8 test.txt
or
iconv -f latin1 -t UTF-8 test.txt (8 Replies)
Discussion started by: umen
8 Replies
10. Shell Programming and Scripting
Hi.,
Can any one please share information on how to convert latin character to utf 8 using shell script or what ever perl or python ?
Thanks. (1 Reply)
Discussion started by: alnhk
1 Replies
LEARN ABOUT OPENDARWIN
niload
NILOAD(8) System Manager's Manual NILOAD(8)
NAME
niload - load text or flat-file-format data into NetInfo
SYNOPSIS
niload [ -v ] [ -d ] [ -m ] [ -p ] [ -t ] { -r directory | format } domain
DESCRIPTION
niload loads information from standard input into the given NetInfo domain. If format is specified, the input is interpreted according to
the flat-file file format of the same name. The allowed values for format are aliases, bootparams, bootptab, exports, fstab, group, hosts,
networks, passwd, printcap, protocols, rpc, and services.
If -r directory is specified instead of a flat-file file format, the input is interpreted as "raw" NetInfo data, as generated by nidump -r,
and loaded into directory. Note that this operation will delete and replace the entire NetInfo subtree at the specified directory. Any
existing records in this subtree will be lost.
niload overwrites entries in the existing directory with those given in the input. Entries that are in the directory aren't deleted if
they don't exist in the input, unless the -d option is specified. niload must be run as superuser on the master NetInfo server for the
given domain, unless one specifies the -p option, which allows one to run from anywhere in the network.
OPTIONS
-v Verbose. Prints details of records as they are updated (flat-file formats only).
-d Delete entries which are in the directory, but not in the input.
-m Merge properties and values. Existing properties will be preserved in the database if they are not present in the input. For exam-
ple, if a user record has a "picture" property, loading a passwd-format record for this user will preserve the property. Property
values are also merged.
-p Prompt for the root password of the given domain so that one can run from other locations in the network besides the master.
-t Interpret the domain as a tagged domain. For example, "trotter/network" refers to the database tagged "network" on the machine
"trotter". The machine name can be an actual name or an IP address.
-r Load entries in "raw" format, as generated by nidump -r. The first argument should be the path of a NetInfo directory into which
the information is loaded. Since the input often specifies properties (including "name") at its topmost level, the directory you
specify may be renamed as a result of this operation. If the directory you specify does not exist, it will be created.
EXAMPLES
"niload passwd . < /etc/passwd" loads the local /etc/passwd file into the local NetInfo database.
"niload -d -r /locations ." replaces the contents of /locations in the local domain with input given in nidump "raw" format.
SEE ALSO
nidump(8), niutil(8), netinfo(5), aliases(5), bootparams(5), bootptab(5), exports(5), fstab(5), group(5), hosts(5), networks(5), passwd(5),
printcap(5), protocols(5), rpc(5), services(5)
Apple Computer, Inc. December 22, 1992 NILOAD(8)