XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + Connect to Informix DB 7.31.FD... (2)
-> + Unable to download stylus stud... (5)
-> + conversion CSV to XML (2)
-> + Please help to create a XSL to... (2)
-> + Stylus Studio 2009 unresponsiv... (3)
-> + Stylus Studio 2009 and IBM Jav... (2)
-> + separate one record to two lin... (3)
-> + error when running xquery comm... (6)
-> - Convert ebcdic-cp-us to utf-8 (8)
-> ->Convert ebcdic-cp-us to u...
-> ->Convert ebcdic-cp-us to u...
-> ->Convert ebcdic-cp-us to u...
-> ->Convert ebcdic-cp-us to u...
-> ->Convert ebcdic-cp-us to u...
-> ->Convert ebcdic-cp-us to u...
-> ->Convert ebcdic-cp-us to u...
-> - hi urgent plz (1)
-> + Java compile problem (7)
-> + How to set pattern match on th... (3)
-> + Adobe Illustrator CS4 xml not ... (3)
-> + validating XSD with W3c stand... (2)
-> + Count function with condition ... (2)
-> + [Context] variable (4)
-> + Batch process HTML to XML docu... (2)
-> + Need help with adding logiic ... (2)
-> - BUG when editing File Types (1)
-> + Is Stylus Studio XML authoring... (2)
-- Previous [841-860] [861-880] [881-900] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Le Bouquin DavidSubject: Convert ebcdic-cp-us to utf-8
Author: Le Bouquin David
Date: 09 Feb 2009 12:14 PM
Hi,

I would like to convert an ebcdic-cp-us file to an utf-8 file.

For this, I tried to use "custom XML conversion" with a correct input encoding so I can read my file correctly decoded.
At this step I just want to save it but I didn't manage.
How I do it?

May I have to use another tool?

Thanks in advance.

Regards,
David.

ps : I have stylus studio 2008.

Postnext
Tony LavinioSubject: Convert ebcdic-cp-us to utf-8
Author: Tony Lavinio
Date: 09 Feb 2009 07:14 PM
You can use Custom XML Conversion for this if your input is
text in EBCDIC and you want output in XML.

If you're just doing a straight file conversion to change
the encoding, than CXC is not the right tool.

Postnext
Le Bouquin DavidSubject: Convert ebcdic-cp-us to utf-8
Author: Le Bouquin David
Date: 10 Feb 2009 04:35 AM
Yes I just want to change the encoding of my xml file.
I can't do it with stylus studio?

Regards,
David.

Postnext
Le Bouquin DavidSubject: Convert ebcdic-cp-us to utf-8
Author: Le Bouquin David
Date: 10 Feb 2009 09:51 AM
Originally Posted: 10 Feb 2009 09:52 AM
Yes I just want to change the encoding of my xml file.
I can't do it with stylus studio?

Regards,
David.

Postnext
Tony LavinioSubject: Convert ebcdic-cp-us to utf-8
Author: Tony Lavinio
Date: 11 Feb 2009 11:00 AM
If you already have an XML file in another encoding, just load
it and choose Edit > Change Encoding.

Postnext
Le Bouquin DavidSubject: Convert ebcdic-cp-us to utf-8
Author: Le Bouquin David
Date: 11 Feb 2009 12:19 PM
I have already try this and it just add at the beginning of the file "<?xml version="1.0" encoding="ebcdic-cp-us"?>".
The rest of the file is not correctly read.

Actually the aim is to use this file for an input pipeline. So I just want to choose the encoding of my input file.
Is it possible?

Thanks for your answers Tony.

Regards,
David.

Postnext
Tony LavinioSubject: Convert ebcdic-cp-us to utf-8
Author: Tony Lavinio
Date: 14 Feb 2009 01:11 PM
It sounds like the file doesn't declare its own encoding, or
the declared encoding is inconsistent with the rules in the
spec about 'sniffing' the encoding.

If you are generating code from the pipeline, it would be
possible to change the code that initially opens the file to
do so as a Reader (or TextReader on .net) and set the appropriate
encoding there.

Can you send us a small sample of such a file so we can give more
concrete advice?

Posttop
Le Bouquin DavidSubject: Convert ebcdic-cp-us to utf-8
Author: Le Bouquin David
Date: 17 Feb 2009 09:41 AM
You are right Tony.
I checked the file type with an other tool and it doesn't recognize the file like a text file.

Thanks for your answers.

Regards,
David.

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.