X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=v1e25TG lCB2I5OzSNI4qnKKAjnPEwKmLNUIbKMrh6/VCSOjXl55VhA+aDuLhV/i95wvw9Hx YHAn9LuixWOx+Q9HMMAvwMZtETjm8iOmq4iotRHb6WejtWccQKRDbD+R2uZ6tMVG YGYqH3J1R8eJ3/KSDXd+vrXz+p+ty/LTfdes= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=cVwx7ttteyPbP Bn+PD7OPLTvYo4=; b=SF9RV77ZxHnem+ojEfmF0elMYLu5SEncTjMkbBZmPSPjz 5SKZp0Sq+XgqovacKGcjC/CqXzCjZcBUC8AjpFBzMhIJwPPPfqpflI1CLjfFgtiB K9sbdU3Npn4RbyQcRPBPAzgPXOWmMnCtkaIp1LPUPkqapuO+V7fnoI4hhnFP7Q= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=Third, Distribution X-HELO: mail-io0-f174.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=WVtrYravQ8xDzZvJTekBa1xbM+tCjo80ua9b7CvMDAc=; b=kiRmnAT57NAmqwSPDUB/qEI7+SNg7kcnNRUB0mnJAGDOPas9s1nKUScCfSW5XFra5y PWo3oFNB+iuenAiZ7zDrIRhqh3Y5MQx2aJ11R6y+e2UVuh5jh654ZDs1aTaiuv0lED8r lu3uvDXfWiSZ81lrdS8KhEhXtiA4QlXE+td/BkeQxftabJdadRcma+P7nfPwcgJojgbK cSGzmkkWJpX42hdKa1HjaB9lrhco3Zjsd88Al9Asv8mXkP1aZilRAPDHooLJzrv+1uss QN0dKZF5Wa+j/BtaP+NjYiKl1mjpXhWCZqVSd/5urhAfv9f6bie8AwH/TpzdWfBmwVd5 uuzQ== MIME-Version: 1.0 In-Reply-To: <981ba1fe-7961-5ed0-e3c7-a5717af8c141@towo.net> References: <1183751257 DOT 20180621042620 AT yandex DOT ru> <5B3045B1 DOT 4080504 AT tlinx DOT org> <981ba1fe-7961-5ed0-e3c7-a5717af8c141 AT towo DOT net> From: Lee Date: Wed, 27 Jun 2018 02:25:41 -0400 Message-ID: Subject: Re: UTF-8 character encoding To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On 6/26/18, Thomas Wolff wrote: > This encoding scheme is wrong; where did you get it from? Maybe it's the > obsolete UTF-8... http://www.cl.cam.ac.uk/~mgk25/ucs/utf-8-history.txt I thought I saw something about utf-8 being able to handle a 31 bit value.. is that also obsolete/wrong? how about this for the current encoding scheme: http://www.unicode.org/versions/Unicode11.0.0/ch03.pdf Table 3-6. UTF-8 Bit Distribution Bits Scalar Value First Byte Second Byte Third Byte Fourth Byte 7 00000000 0xxxxxxx 0xxxxxxx 11 00000yyy yyxxxxxx 110yyyyy 10xxxxxx 16 zzzzyyyy yyxxxxxx 1110zzzz 10yyyyyy 10xxxxxx 21 000uuuuu zzzzyyyy yyxxxxxx 11110uuu 10uuzzzz 10yyyyyy 10xxxxxx Lee -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple