Path: csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!weretis.net!feeder4.news.weretis.net!news.albasani.net!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: JLS 3/e -- Lots Of Errors Date: Sat, 05 Feb 2011 09:37:46 -0500 Organization: albasani.net Lines: 22 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.albasani.net CJh2usqxlXcp4JpPLqEpMtm/KafJORSzfvjkMx8SGYcvk4be5uhjrcG6qD8cm2759MzwJIfXhwD2h/bWRO5GMA== NNTP-Posting-Date: Sat, 5 Feb 2011 14:37:43 +0000 (UTC) In-Reply-To: Cancel-Lock: sha1:XSLhxTIMSOHAtuTYJ52uhuZYHIQ= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 Injection-Info: news.albasani.net; logging-data="tLnhZC3v2OQ8U/9FM9uNXXI8MLk1omyVO2eYOTGk+r+/ZsFJ/WH3di76T/EF3KZqyMWDhTz0D2kWansmXDItTI0nHQ2jW6p2SO5fpdGnMojpul5nmCfB1ukmfo1epvSM"; mail-complaints-to="abuse@albasani.net" Xref: csiph.com comp.lang.java.programmer:25578 On 02/05/2011 07:30 AM, Lawrence D'Oliveiro wrote: > * Section 3.1, Page 14: > > For characters in the range U+0000 to U+FFFF, the values of [Unicode] > code points and UTF-16 code units are the same. > > No they are not. U+D800 .. U+DFFF are not valid Unicode code points. It says, "for characters in the range". Those are not characters in the range. -- Lew Ceci n'est pas une fenĂȘtre. .___________. |###] | [###| |##/ | *\##| |#/ * | \#| |#----|----#| || | * || |o * | o| |_____|_____| |===========|