Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
|
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 20th, 2008, 07:52 AM
Authorized User
 
Join Date: Jun 2003
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Kabe
Default csv > xml command line tool, encoding option

anyone aware about a command line csv > xml converting tool, where it is possible to set the encoding?

now i'm using csv2xml from A7Soft, which do the job fine, but i need to have "<?xml version="1.0" encoding="ISO-8859-1"?>" instead of "<?xml version="1.0"?>"

thx a lot
kristof
 
Old November 20th, 2008, 08:08 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Why not just do an identity transformation on the result, to change the encoding?

Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer's Reference
 
Old November 20th, 2008, 09:06 AM
Authorized User
 
Join Date: Jun 2003
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Kabe
Default

i never know before what special characters i'll get ...
maybe i haven't to know this before ...

can you give me an example how to do (in asp,vbscript)?

thx,
kristof





Similar Threads
Thread Thread Starter Forum Replies Last Post
CSV > XML (converting problems) Kabe XML 6 November 17th, 2008 09:46 AM
Remove <select a value> option roy_mm Reporting Services 0 February 25th, 2007 02:26 AM
<html:option> question Edward King Struts 2 May 4th, 2006 09:14 AM
Achitecture ? SQL -> XML -> ASP -> PDF or HTML Frm jstrong Classic ASP XML 0 July 9th, 2005 01:18 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.