[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: ANN: Gorille 0.3


Re:  ANN: Gorille 0.3
> Elliotte Rusty Harold wrote:
> 
> > It could be worse, though. You could be using C, and trying to decode 
> > UTF-8. :-)
> 
> 
> ?? It's about 10 lines of code, and has been written lots of
> times now.  Last time I needed it I couldn't find one with the
> exact buffer interface I needed so I coded it up from scratch
> sometime in the course of an afternoon and it worked first time.
> The spec is hardly unclear.  And it's a set of shift/mask
> operations that are processor-friendly.  You need to use a
> loop iterator rather than a for (i = 0; string[i]; i++) idiom,
> big deal.

I was about to post the same reaction.

I do want to add, though, that the last time I needed to code UTF-8 routines in C, I found the UTF-8 illustration in Tony Graham's book so lucid as to make implementation a tea-time task.

And BTW, I wigh you had not brought up wchar_t, because that dredges up memories of all the horror in wchar.h, and last thing I need is a case of saffron hives.


-- 
Uche Ogbuji                               Principal Consultant
uche.ogbuji@f...               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com 
4735 East Walnut St, Boulder, CO 80301-2537, USA
XML strategy, XML tools (http://4Suite.org), knowledge management



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.