First of all, does your XML contain an encoding declaration as the first line? Something like:
If not, please let us what the encoding declaration is.
Next of all, not all valid UTF8 characters are valid XML characters. See Section 2.2 of Extensible Markup Language (XML) 1.0 (Second Edition) This applies to CDATA also. If this is the case, all you can do is write a filter to scrub the offending characters.
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 ... (1 Reply)
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)
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)
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)
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)
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)
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)
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)
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)