To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 12167
12166  |  12168
Subject: 
Re: LEGOfactory.com launches... and it's big!
Newsgroups: 
lugnet.cad
Date: 
Thu, 25 Nov 2004 15:11:16 GMT
Viewed: 
1828 times
  
In lugnet.lego, Ildefonso Junior Zanette wrote:
> In lugnet.lego, Darrell Urbien wrote:
> > 
> > It would be nice if all the parts in the Competition Pallet could be on a
> > printable page.
> 
> Hi,
> 
>   After some hacking with the xml files included on LDD I came up with this
> Excel spreadsheet:
> http://i.z.sites.uol.com.br/legofactory_palette.xls
>   If someone could do the hard work of fill in the third column of the colors
> worksheet with the corresponding LDRAW color numbers, then it will be easier to
> make such page.
> 
> Regards,
> 
> Ildefonso.

There are problems with the XML files. The encoding is defined as UTF-8, yet the
Danish language descriptions contain accented characters (ASCII values > 127)
which are not supported by UTF-8, so cause IE and Perl XML::Simple to choke.
Changing the encoding to ISO-8859-1 makes them much easier to process
programatically.

Chris



Message has 1 Reply:
  Re: LEGOfactory.com launches... and it's big!
 
(...) You're right, the files aren't UTF-8. If anyone is interested, you can convert ISO-8859-1 text to UTF-8 like this: characters from 0-127 (0x00-0x7F) remain the same characters from 128-191 (0x80-0xBF) are prefixed by 194 (0xC2) but otherwise (...) (22 years ago, 27-Nov-04, to lugnet.cad)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR