Re: Unicode education in Schools

2017-08-26 Thread Richard Wordingham via Unicode
On Fri, 25 Aug 2017 09:36:44 -0400 John W Kennedy wrote: > Just a reminder that in Apple’s Swift a “Character” is anything that > looks like a character, including a letter with any theoretically > unlimited stack of diacritics, a flag, or a skin-toned emoji, and all >

Re: Unicode education in Schools

2017-08-26 Thread Eli Zaretskii via Unicode
> Date: Sat, 26 Aug 2017 22:07:57 +0100 > From: Richard Wordingham via Unicode > > > We are miscommunicating. My point was that programming for MS-Windows > > needs a good understanding of what the UTF-16 surrogates are, and in > > what MS-Windows APIs/library functions

Re: Unicode education in Schools

2017-08-26 Thread Richard Wordingham via Unicode
On Sat, 26 Aug 2017 21:20:45 +0300 Eli Zaretskii via Unicode wrote: > > Date: Sat, 26 Aug 2017 18:52:03 +0100 > > From: Richard Wordingham via Unicode > We are miscommunicating. My point was that programming for MS-Windows > needs a good understanding

Re: Unicode education in Schools

2017-08-26 Thread Eli Zaretskii via Unicode
> Date: Sat, 26 Aug 2017 18:52:03 +0100 > From: Richard Wordingham via Unicode > > > > It shouldn't. UTF-16 works just like UTF-8, except that the code > > > units are bigger. > > > Not really, since UTF-8 doesn't have surrogates. > > It has 115 surrogates, thoroughly

Re: Unicode education in Schools

2017-08-26 Thread Richard Wordingham via Unicode
On Sat, 26 Aug 2017 18:55:25 +0300 Eli Zaretskii via Unicode wrote: > > Date: Sat, 26 Aug 2017 16:09:33 +0100 > > From: Richard Wordingham via Unicode > > It shouldn't. UTF-16 works just like UTF-8, except that the code > > units are bigger. > Not

Re: Unicode education in Schools

2017-08-26 Thread Eli Zaretskii via Unicode
> Date: Sat, 26 Aug 2017 16:09:33 +0100 > From: Richard Wordingham via Unicode > > > > Just steer them away from UTF-16! > > > > Which will leave them entirely unprepared for the MS-Windows Unicode > > programming, something they of course will never need in their > >

Re: Unicode education in Schools

2017-08-26 Thread Richard Wordingham via Unicode
On Fri, 25 Aug 2017 09:36:00 +0300 Eli Zaretskii via Unicode wrote: > > Date: Fri, 25 Aug 2017 00:23:40 +0100 > > From: Richard Wordingham via Unicode > > > > On Thu, 24 Aug 2017 17:17:10 + > > Andre Schappo via Unicode wrote:

Re: Unicode education in Schools

2017-08-26 Thread Richard Wordingham via Unicode
On Fri, 25 Aug 2017 12:57:37 +0100 (BST) William_J_G Overington via Unicode wrote: > UTF-16 is very useful. I use it in my research project. > If the byte content of a UTF-16 file is displayed in a hexadecimal > display then for all plane 0 characters the byte content of

Re: Unicode education in Schools

2017-08-26 Thread Norbert Lindenberg via Unicode
4, 2017 5:18 PM > To: Unicode Mailing List <unicode@unicode.org> > Subject: Fwd: Unicode education in Schools > > > > > > -- Forwarded message - > From: David Starner <prosfil...@gmail.com> > Date: Thu, Aug 24, 2017, 6:16

Re: Unicode education in Schools

2017-08-25 Thread William_J_G Overington via Unicode
: unicode@unicode.org Subject : Re: Unicode education in Schools On Thu, 24 Aug 2017 17:17:10 + Andre Schappo via Unicode <unicode@unicode.org> wrote: > So, I consider it important to familiarise students with SMP > characters as well as BMP characters. Then when

Re: Unicode education in Schools

2017-08-25 Thread Mark Davis ☕️ via Unicode
Mark (https://twitter.com/mark_e_davis) On Thu, Aug 24, 2017 at 11:01 PM, Asmus Freytag via Unicode < unicode@unicode.org> wrote: > On 8/24/2017 10:17 AM, Andre Schappo via Unicode wrote: > >> Because there are many systems that can now handle BMP characters but not >> cannot handle SMP

Re: Unicode education in Schools

2017-08-25 Thread Eli Zaretskii via Unicode
> Date: Fri, 25 Aug 2017 00:23:40 +0100 > From: Richard Wordingham via Unicode > > On Thu, 24 Aug 2017 17:17:10 + > Andre Schappo via Unicode wrote: > > > So, I consider it important to familiarise students with SMP > > characters as well as BMP

RE: Unicode education in Schools

2017-08-25 Thread via Unicode
Use String.codePointAt() etc. El ago. 24, 2017 10:42 PM -0700, Shriramana Sharma via Unicode , escribió: > IIUC the limitation seems to be only that functions such as "charAt" do not > recognize that surrogates aren't valid characters: > >

RE: Unicode education in Schools

2017-08-24 Thread Shriramana Sharma via Unicode
IIUC the limitation seems to be only that functions such as "charAt" do not recognize that surrogates aren't valid characters: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/charAt via https://stackoverflow.com/a/8716157/1503120. This is a problem of many

RE: Unicode education in Schools

2017-08-24 Thread Peter Constable via Unicode
org> Subject: Fwd: Unicode education in Schools -- Forwarded message - From: David Starner <prosfil...@gmail.com<mailto:prosfil...@gmail.com>> Date: Thu, Aug 24, 2017, 6:16 PM Subject: Re: Unicode education in Schools To: Richard Wordingham <richard.wo

Re: Unicode education in Schools

2017-08-24 Thread Philippe Verdy via Unicode
e@unicode.org>: > > > -- Forwarded message - > From: David Starner <prosfil...@gmail.com> > Date: Thu, Aug 24, 2017, 6:16 PM > Subject: Re: Unicode education in Schools > To: Richard Wordingham <richard.wording...@ntlworld.com> > > > > &

Fwd: Unicode education in Schools

2017-08-24 Thread David Starner via Unicode
-- Forwarded message - From: David Starner <prosfil...@gmail.com> Date: Thu, Aug 24, 2017, 6:16 PM Subject: Re: Unicode education in Schools To: Richard Wordingham <richard.wording...@ntlworld.com> On Thu, Aug 24, 2017, 5:26 PM Richard Wordingham via Unico

Re: Unicode education in Schools

2017-08-24 Thread Richard Wordingham via Unicode
On Thu, 24 Aug 2017 17:17:10 + Andre Schappo via Unicode wrote: > So, I consider it important to familiarise students with SMP > characters as well as BMP characters. Then when they develop software > they will, at the start, be thinking beyond ASCII and Unicode BMP >

Re: Unicode education in Schools

2017-08-24 Thread Asmus Freytag via Unicode
On 8/24/2017 10:17 AM, Andre Schappo via Unicode wrote: Because there are many systems that can now handle BMP characters but not cannot handle SMP characters. One example being systems that use mysql utf8 (3 byte encoding) and have not yet updated to utf8mb4 (4 byte encoding) So, I consider

Re: Unicode education in Schools

2017-08-24 Thread Philippe Verdy via Unicode
2017-08-24 19:17 GMT+02:00 Andre Schappo via Unicode : > > Because there are many systems that can now handle BMP characters but not > cannot handle SMP characters. > > One example being systems that use mysql utf8 (3 byte encoding) and have > not yet updated to utf8mb4 (4

Re: Unicode education in Schools

2017-08-24 Thread Andre Schappo via Unicode
Because there are many systems that can now handle BMP characters but not cannot handle SMP characters. One example being systems that use mysql utf8 (3 byte encoding) and have not yet updated to utf8mb4 (4 byte encoding) So, I consider it important to familiarise students with SMP characters

Re: Unicode education in Schools

2017-08-24 Thread Shriramana Sharma via Unicode
So how do you think it matters if the characters are in the BMP or SMP?

Unicode education in Schools

2017-08-24 Thread Andre Schappo via Unicode
I came across this School Unicode exercise https://community.computingatschool.org.uk/resources/4546 The exercise concerns Emoji but to me the important point is that the schoolchildren are having to think about SMP characters. I do not know if schools gives an explanation of the BMP and SMP