| Deutsch English Français Italiano |
|
<87bjuppe9n.fsf@nosuchdomain.example.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Simple string conversion from UCS2 to ISO8859-1
Date: Tue, 25 Feb 2025 19:37:40 -0800
Organization: None to speak of
Lines: 24
Message-ID: <87bjuppe9n.fsf@nosuchdomain.example.com>
References: <vp9oml$3a0k5$1@dont-email.me>
<87bjuvm68v.fsf@nosuchdomain.example.com>
<vpciqb$3unkp$3@dont-email.me> <vpi4t3$10fsl$3@dont-email.me>
<vpijsc$1eak4$3@dont-email.me> <vpjrr7$1qe9i$2@dont-email.me>
<de55644ade1f0519ad6e353a4e32f301dcfff10c@i2pn2.org>
<vpklh3$1qe9i$3@dont-email.me> <vpm132$29ine$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 26 Feb 2025 04:37:43 +0100 (CET)
Injection-Info: dont-email.me; posting-host="8884623bf32425c3c99b8c7d93ab032c";
logging-data="2401694"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19H0gVrw6XLBkmmVB0N8B8H"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:lMuOabBiPDyfOolYKKwW6IfwZgA=
sha1:u6xcSdeqPvp0CE3H7XYy9N+Fopo=
Bytes: 2291
Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Tue, 25 Feb 2025 15:53:23 +0100, pozz wrote:
>
>> Sincerely I don't know, the standard says UCS2
>
> Remembered that the specs are online
> <https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=1514>.
> They don’t actually say what “data coding schemes” are allowed; the
> only mention of UCS-2 is
>
> if <dcs> indicates that 8-bit or UCS2 data coding scheme is used,
> or <fo> indicates that 3GPP TS 23.040 [3]
> TP-User-Data-Header-Indication is set: ME/TA converts each 8-bit
> octet into two IRA character long hexadecimal number (e.g. octet
> with integer value 42 is presented to TE as two characters 2A (IRA
> 50 and 65))
>
> So it doesn’t say that UTF-16 is or isn’t allowed.
It doesn't say that EBCDIC or UTF-7 is or isn't allowed.
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */