From 59d7b2660bae086b98302fcaa46c26162b51b7e9 Mon Sep 17 00:00:00 2001 From: Abou Al Montacir Date: Thu, 6 Feb 2025 20:02:48 +0100 Subject: [PATCH] Fixed files encoding Forwarded: Yes Bug: https://gitlab.com/freepascal.org/fpc/source/-/issues/41130 Last-Update: 2025-02-02 Some files are distributed by upstream in national encoding. This patch converts them to unicode. The convertion was doen using the follwong commands: recode latin1..UTF-8 fpcsrc/packages/fcl-base/examples/testreg.pp recode latin1..UTF-8 fpcsrc/rtl/os2/tests/pmdemo1.h recode latin1..UTF-8 demo/os2/pmdemo1.h The two last files requiered additional manual fix. Gbp-Pq: Name Fixed-files-encoding.patch --- demo/os2/pmdemo1.h | 2 +- fpcsrc/packages/fcl-base/examples/testreg.pp | 4 ++-- fpcsrc/rtl/os2/tests/pmdemo1.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/demo/os2/pmdemo1.h b/demo/os2/pmdemo1.h index 993da054..4cfe645c 100644 --- a/demo/os2/pmdemo1.h +++ b/demo/os2/pmdemo1.h @@ -1,6 +1,6 @@ /******************************************* - Header fr den Ressourcecompiler + Header für den Ressourcecompiler ********************************************/ #define ID_ClientWindow 1 diff --git a/fpcsrc/packages/fcl-base/examples/testreg.pp b/fpcsrc/packages/fcl-base/examples/testreg.pp index c35028be..7b0d406a 100644 --- a/fpcsrc/packages/fcl-base/examples/testreg.pp +++ b/fpcsrc/packages/fcl-base/examples/testreg.pp @@ -1,5 +1,5 @@ {================================================================= - TestReg.pp versión 1.2 12/02/2002 + TestReg.pp versión 1.2 12/02/2002 Copyright (C) 2000-2002 by Luis Digital (luis@luis-digital.8m.com) TestReg pone en prueba y sirve de ejemplo para TRegistry. @@ -7,7 +7,7 @@ Este es software libre bajo la licencia GNU/GPL. Ver COPYING.FPC y COPYING incluidos con este programa. - Este programa es distribuido esperando que sea útil, + Este programa es distribuido esperando que sea útil, pero SIN NINGUNA GARANTIA. =================================================================} diff --git a/fpcsrc/rtl/os2/tests/pmdemo1.h b/fpcsrc/rtl/os2/tests/pmdemo1.h index 7e03ab40..7e6e5614 100644 --- a/fpcsrc/rtl/os2/tests/pmdemo1.h +++ b/fpcsrc/rtl/os2/tests/pmdemo1.h @@ -1,6 +1,6 @@ /******************************************* - Header fr den Ressourcecompiler + Header für den Ressourcecompiler ********************************************/ #define ID_ClientWindow 1 -- 2.30.2