Re: hilghlighting



On Tue, 2010-05-11 at 22:27 +0200, deloptes wrote:
> José Alburquerque wrote:
> 
> > The point of the docs is to explain the differences between UTF-8 (which
> > is a multi-byte encoding) and single-byte encodings.
> 
> as I'm primarily linguist this was some of the first things I learned
> about - chars and encoding - I was thinking constantly of the babylon
> story. I'm glad there is utf now. But I have the feeling a lot of code is
> still having issues.

I'm only trying to help you reach your programming goals.  Once more, I
hope I didn't offend you.  I could be wrong about my answers.  I just
hope they help.

> >> 
> >> I think currently most systems are utf and are using (8bit) utf by
> >> default and I have never had to think about it in the past few years.
> >> about 5years ago it was a nightmare
> > 
> > What about systems not using UTF-8?  Windows systems?
> 
> all windows systems are utf (or  better say UCS)
> windows became utf even before linux did - did you know?

I wasn't sure about this.  However, the output from the test case you
posted on Windows led me to suspect otherwise.

> 
> > 
> > On Windows (using MinGW), the output is garbled:
> > 
> > $ ./a
> > A test: Test ascii
> > German: Grⁿ▀ Gott!
> 
> well it's then WinGW issue and not windows.

Keep in mind that quite a few people developing in C++ on this list use
MinGW so it would be wise to keep things working fine there also.

-- 
José



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]