From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.163.145 with SMTP id a17mr9202063qay.3.1384684492661; Sun, 17 Nov 2013 02:34:52 -0800 (PST) X-Received: by 10.49.108.232 with SMTP id hn8mr12456qeb.14.1384684492646; Sun, 17 Nov 2013 02:34:52 -0800 (PST) Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!n1no1228627qai.0!news-out.google.com!9ni33120qaf.0!nntp.google.com!i2no3844847qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 17 Nov 2013 02:34:52 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=31.183.18.217; posting-account=fc1UmgoAAADREbhuD8e4smj7nsEdRFz9 NNTP-Posting-Host: 31.183.18.217 References: <73e0853b-454a-467f-9dc7-84ca5b9c29b2@googlegroups.com> <1ghx537y5gbfq.17oazom68d4n6.dlg@40tude.net> <5bf1b290-70bc-4240-b27c-120ce6b0b840@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <55cd2cd0-0acd-42f9-87b8-fa5eb704db65@googlegroups.com> Subject: Re: strange behaviour of utf-8 files From: Stoik Injection-Date: Sun, 17 Nov 2013 10:34:52 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Original-Bytes: 2290 Xref: number.nntp.dca.giganews.com comp.lang.ada:183906 Date: 2013-11-17T02:34:52-08:00 List-Id: W dniu sobota, 16 listopada 2013 21:06:28 UTC+1 u=C5=BCytkownik Peter C. Ch= apin napisa=C5=82: > On Sat, 16 Nov 2013, Stoik wrote: >=20 >=20 >=20 > > By the way, nothing changes if I use wide_character and wide_string=20 >=20 > > instead of character and string. Even if character=3Doctet, certainly= =20 >=20 > > wide_character is not an octet! >=20 >=20 >=20 > It sounds like you want something like >=20 >=20 >=20 > function UTF8_String_To_Wide_String(S : String) return Wide_String; >=20 >=20 >=20 > UTF-8 is a variable length encoding and thus not the same beast as=20 >=20 > Wide_String. String literals are going to be encoded in the same manner a= s=20 >=20 > the rest of the source text, of course. >=20 >=20 >=20 > Peter Thank you, I always use the switches, this time I forgot to add them :( This solves the problem, everything works fine.