Re: a question about reading in alphabet letters

Jan Wielemaker <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
On 03/24/2014 08:50 AM, [email protected] wrote:
>> uld someone tell me why some of the alphabetic letters are not read? I
>> >use utf-8 because eventually I want to try my codes on Chinese texts.

> This has nothing to do with UTF-8.

I thought it had, but it appears get0/1 is equivalent to get_code/1 in
the current implementation.  So indeed, it hasn't.  It still requires
the stream's encoding to match the encoding of the data to get the
expected results.  In a properly configured system this normally
works fine automatically, but there are many poorly configured
systems.

	Cheers --- Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.