12-12-2008
Problems with French Characters
I am having a problem with two OSes. One is running windows 2003 and sending XML to a second system running Unix (HP-UX 11i v1). Windows sends XML to the UNIX system fine but then the UNIX system reads the buffer file and turns the french characters into the following:
é Ú
É ╔
Î ╬
è þ
î ¯
Anyone know why this is happening?
8 More Discussions You Might Find Interesting
1. Programming
Hi
I was trying to open a file with french name on Mac OS-X with open() and fopen() but it didn't work.Do we have any POSIX unix func. which can be used to open any file with special name.
if anybody has an idea plz help.
Thanks
Mohit (1 Reply)
Discussion started by: mohit grover
1 Replies
2. Solaris
Hello Experts
I am trying to use my Solaris 8 Sunblade 2000 with a French HP Keyboard. My system needs to be configured with this keyboard. Please advise where I can set it up. By the way I am using CDE environment.
Thanks (0 Replies)
Discussion started by: Reza Nazarian
0 Replies
3. Shell Programming and Scripting
Hi,
I have tonnes of .txt files that are written in French. I need to replace the French special characters, however, with English equivalents (e.g. é -> e and ç -> c).
I have tried this
---
#!/bin/bash
# Convert French characters to normal characters
# Treat each of the files
exec... (4 Replies)
Discussion started by: BlueberryPickle
4 Replies
4. Shell Programming and Scripting
Hi, I'm writing a long script for bash (on RHEL 5.0) to execute many commands. So, my idea is to create a function to deal with error checking and logging (see ceckoutput() below). This works with all commands except for sed. I think it may be a problems with escaped characters. So I did the... (4 Replies)
Discussion started by: macL
4 Replies
5. Shell Programming and Scripting
Hi Friends,
Need help regarding how to handle french char. in SunOS.
I have to remove blank line from 100 files ( which also has some french char.), so I put all those file in unix (SunOS) by using filezilla and by using sed command I achived this, and I again get all the file back through... (2 Replies)
Discussion started by: forroughuse
2 Replies
6. Shell Programming and Scripting
Hi,
I wrote a script to convert a given word from English to French.
But I am not able to figure out what I am missing here.
I am not able to get the translated word
Below is my script:
French=/root/dict/entofr.txt
for i in $*
do
word="echo $word $i"
done
while:
do
cat <<... (1 Reply)
Discussion started by: pinky7630
1 Replies
7. UNIX for Dummies Questions & Answers
Hello again,
How can I send emails via postfix with special characters like "à" via postfix.
When I'm paste-ing the special character inside a editor (nano) it shows like this --> � ... any tips? (1 Reply)
Discussion started by: galford
1 Replies
8. AIX
Hello all, I am using AIX 7.1 and whenever xml files with accented French characters are read, for example Name Andree where the first e has accented mark on top, AIX should it as Andrée but it comes as funny number characters for the first e. What do I need to fix this. I want to test with one... (5 Replies)
Discussion started by: pregmi
5 Replies
LEARN ABOUT DEBIAN
xml::handler::canonxmlwriter
XML::Handler::CanonXMLWriter(3pm) User Contributed Perl Documentation XML::Handler::CanonXMLWriter(3pm)
NAME
XML::Handler::CanonXMLWriter - output XML in canonical XML format
SYNOPSIS
use XML::Handler::CanonXMLWriter;
$writer = XML::Handler::CanonXMLWriter OPTIONS;
$parser->parse(Handler => $writer);
DESCRIPTION
"XML::Handler::CanonXMLWriter" is a PerlSAX handler that will return a string or write a stream of canonical XML for an XML instance and
it's content.
"XML::Handler::CanonXMLWriter" objects hold the options used for writing the XML objects. Options can be supplied when the the object is
created,
$writer = new XML::Handler::CanonXMLWriter PrintComments => 1;
or modified at any time before calling the parser's `"parse()"' method:
$writer->{PrintComments} = 0;
OPTIONS
IOHandle
IOHandle contains a handle for writing the canonical XML to. If an IOHandle is not provided, the canonical XML string will be returned
from `"parse()"'.
PrintComments
By default comments are not written to the output. Setting comment to a true value will include comments in the output.
AUTHOR
Ken MacLeod, ken@bitsko.slc.ut.us
SEE ALSO
perl(1), PerlSAX
James Clark's Canonical XML definition <http://www.jclark.com/xml/canonxml.html>
perl v5.10.1 2003-10-21 XML::Handler::CanonXMLWriter(3pm)