logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: wxInputStream and multibyte character sets: msg#00032

Subject: Re: wxInputStream and multibyte character sets
On Tue, 19 Jun 2007 21:39:29 +0100
Mark Dootson <mark.dootson@xxxxxxxx> wrote:

> Mattia Barbon wrote:
> >   I do not agree with what you write above (note: I am not saying the 
> > current implementation is correct!)
> > what I think readline should do is work with bytes: 
> > 
> >  read a char from the stream
> >  add it to a charbuffer
> >  if char == '\n' {
> >      return the buffer as a byte string, without performing any conversion
> >  }
> > 
> >   I believe that automatically interpreting program output based upon
> > wxWidgets ideas (which usually means using the current locale) will cause
> > trouble.  Returning bytes leaves the interpretation to the calling program
> > which is always a safe choice.
> 
> I think you are right. Bytes makes much more sense.

  Changed in Subversion.  I tried it with Wx::Perl::ProcessStream 0.09
and it works as I expect.  Pleas let me know if it works for you too.

Regards,
Mattia

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe