Wrox Programmer Forums
BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2
This is the forum to discuss the Wrox book Beginning XML, 4th Edition by David Hunter, Jeff Rafter, Joe Fawcett, Eric van der Vlist, Danny Ayers, Jon Duckett, Andrew Watt, Linda McKinnon; ISBN: 9780470114872
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2 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 January 28th, 2009, 02:53 PM
Registered User
Join Date: Jan 2009
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts
Default Page 22 XML in French

I may be missing something simple, but when I try to create French tags with accents (as in the book) IE gives me the below error message. Perhaps it is a simple issue that my setting are English, not French; or is it that IE when rendering XML can not deal with chars outside basic ASCII?
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
An invalid character was found in text content. Error processing resource 'file:///C:/Documents and Settings/WNAZ/Desktop/f...
Old January 28th, 2009, 03:01 PM
Registered User
Join Date: Jan 2009
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts

I withdraw the question. I should have checked Appendix A first, though since there is no discussion of encoding in the chapter, I don't feel completely stupid, just a little.
Old January 28th, 2009, 03:02 PM
joefawcett's Avatar
Wrox Author
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts

It can cope as long as the encoding declaration is the same as the actual one. For instance try:
<?xml version="1.0" encoding="UTF-8" ?>
at the top. Then open the file in Notepad, and save it making sure the encoding dropdown is set to UTF-8.

If this fixes the problem but your file is normally created programatically then we'll need to see how you create to see where the encoding is incorrcetly applied.
Old January 28th, 2009, 03:16 PM
Registered User
Join Date: Jan 2009
Posts: 4
Thanks: 3
Thanked 0 Times in 0 Posts

I've never worked with file encoding before, so this was new to me. Thanks for the quick response.

Similar Threads
Thread Thread Starter Forum Replies Last Post
French Characters in XML mansharma_s XML 5 February 9th, 2007 07:38 AM
English to French prabhakaran SQL Server 2000 3 December 5th, 2006 03:49 PM
Highlighted code; Page 1113, Ch 22 Nick Y BOOK: Ivor Horton's Beginning Visual C++ 2005 0 August 4th, 2006 10:13 AM
French Accents Bob Bedell C# 1 February 16th, 2006 12:23 AM
french date format djenandji XSLT 1 January 23rd, 2006 01:41 PM

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