Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121858 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 10050 invoked from network); 29 Nov 2023 12:17:01 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 29 Nov 2023 12:17:01 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0B725180031 for ; Wed, 29 Nov 2023 04:17:06 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 29 Nov 2023 04:17:05 -0800 (PST) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-33319741ba0so328798f8f.1 for ; Wed, 29 Nov 2023 04:16:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701260216; x=1701865016; darn=lists.php.net; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nToRn6t2I/yD0DbSULBMCZGz7BZjjOptHakG+YVl6n8=; b=X4SVxUwLJMAn45TkOikmRQ16OTl8e9IVg7BXcHstQmOt3CYvsmvZYInhBkzFJHOdj/ sNtkWPiLNK94ZqEkvdaZhPbI0HjEpVBzQnWJg9nteuNIscPoBKno5jHB0JfjI6swJiRA 0Puewtt+4thcsHrPC5+ILcz++n1ID9G0PfgwRDm1O+DOK6+hORg0VoOyYdqkfNaHJIva YK5TZg6915UFeJF/HkCx6ss3oIQ79rH/K8ZZOzPdHfDccjdgPPNAUFbxkrNcP5huXDrP aUJEksUw78jfAcfxGhKWYCk34XgC4Af42VjE/Z6RVH39EH7E5DsWNwdtmdDStq8v0Jyn akwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701260216; x=1701865016; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nToRn6t2I/yD0DbSULBMCZGz7BZjjOptHakG+YVl6n8=; b=YtPn1qVr6xBzo1CRfOyLZLVgMFx+ReOKqLKegnV0ah6ulxFUqDikwMjBS9/bbxKVCE t0deiP5SUYfxyZUS26jTEe0SPfUz84IxLprhRPTFAZB52ovufaOrKlGm8uedYyQfOpUl 16czcldDlcFa3FnO/KSNrRytCTEe9Cil+CiXFmkhxNXJGLeo4PIBGO7sipGrhQwqnFyJ 0Lyfn2zMfa0cq6jrcUkn7m+0uLZGZoF6RhyZPN+OKPHcLcRJyWyeJZiYG5pi2JafWfPr NCd7r4SZscnTLdDDO5EVwKaUjI6yKS0W46jKNWkInAs2q9thqUpqihTSL3QtFvWaxZVr C95g== X-Gm-Message-State: AOJu0YyPEwa7Xp18njDltOBbKzluY3zI0PDyf426H+TmgYGJyt44dXvE X1UePASry3uWOs5WTYg2HhGdXg8jDIMQFuvpQmPDD5sHWQ== X-Google-Smtp-Source: AGHT+IEpYfHYi9HyKWkGQAZMGJUlST2Grc8jcXVQTMJbKa3198kcpvbq+xTDD2nP/ParDdl5QG5bXKduWjX1jro9sCE= X-Received: by 2002:a5d:47a4:0:b0:333:1775:76a6 with SMTP id 4-20020a5d47a4000000b00333177576a6mr1716219wrb.62.1701260216071; Wed, 29 Nov 2023 04:16:56 -0800 (PST) MIME-Version: 1.0 References: <1BA05C1A-AFAE-4E86-BAA2-420B22549519@gmail.com> <0D8856BC-DDEE-47F8-8C59-7F4DC7A64237@woofle.net> In-Reply-To: Date: Wed, 29 Nov 2023 21:16:42 +0900 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Deprecate declare(encoding='...') + zend.multibyte + zend.script_encoding + zend.detect_unicode ? From: youkidearitai@gmail.com (youkidearitai) 2023=E5=B9=B411=E6=9C=8829=E6=97=A5(=E6=B0=B4) 20:42 Hans Henrik Bergan : > > i think Shift_JIS can also be automatically converted to UTF-8, does > this seem right? > https://github.com/divinity76/php2utf8/commit/6e08c4c16312961170cce821195= 816a8d24e23f6 > Sorry if it's harsh, not right. Shift_JIS is very ambiguous, What will we do if SJIS-2004 or SJIS-win comes= ? How do we guess(detect) SJIS-2004, SJIS-win and SJIS-mac? In the first place, We **should not** change PHP script character encoding. In addition to this, We have to think about various things. This is not just a Japanese problem. --=20 --------------------------- Yuya Hamada (tekimen) - https://tekitoh-memdhoi.info - https://github.com/youkidearitai -----------------------------