Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT 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 July 14th, 2006, 02:14 PM
Registered User
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default BOM Needs to be removed

<div align="left"></div id="left">Hi, I have a file that contains a BOM and my input application doesn't like BOMS. Is there a workaround automatically to remove the BOM so it's only UTF-8? Thanks, Tracy
 
Old July 15th, 2006, 12:45 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Not sure why you're posting this on an XSLT forum.

If it's a one-off, find a text editor that will save the file in the format you want. If it needs to be automated, write a little program e.g. in Java that reads the file and writes out all but the first three octets to an output file.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
Removed!! wchitamb Classic ASP Databases 0 August 1st, 2005 05:45 AM
Is there anyway to get my email address removed jayirvin Forum and Wrox.com Feedback 8 April 16th, 2004 09:36 AM





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