Author Topic: BeerXML Encoding  (Read 4206 times)

MyloFiore

  • Guest
BeerXML Encoding
« on: October 20, 2008, 04:59:33 PM »
Brad -

Is there any reason that you chose "ISO-8859-1" as the encoding type for BeerXML? I am writing a little Pocket PC app to display my BeerSmith recipes that have been exported to XML format. I can manually update the XML file and change the encoding to "UTF-8" with no perceived issues. I'd like to avoid the manual step if necessary. Compact .NET does not support ISO-8859-1 format.


Mylo

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 5570
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Re: BeerXML Encoding
« Reply #1 on: October 20, 2008, 07:15:48 PM »
Mylo,
  I don't have a good reason - one of the early contributors suggested that line.  Frankly, there is nothing inherent in the BeerXML file itself - so I think importing as UTF-8 would work just fine.

Brad
Get a free trial of BeerSmith 3 here

MyloFiore

  • Guest
Re: BeerXML Encoding
« Reply #2 on: October 20, 2008, 10:26:17 PM »
Well, I think I answered my own question. I exported a larger set of recipes tonight - and changed the encoding line to utf-8. I tried to load the file up in IE, and it blew up on any accented character (usually in the "examples" section). I guess I will have to work up some sort of conversion utility - unless you can think of anything.


Mylo