File: Fixed-files-encoding.patch

package info (click to toggle)
fpc 3.2.2%2Bdfsg-48
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 341,456 kB
  • sloc: pascal: 3,820,194; xml: 194,356; ansic: 9,637; asm: 8,482; java: 5,346; sh: 4,813; yacc: 3,956; makefile: 2,705; lex: 2,661; javascript: 2,454; sql: 929; php: 474; cpp: 145; perl: 136; sed: 132; csh: 34; tcl: 7
file content (58 lines) | stat: -rw-r--r-- 2,170 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Description: Fixed files encoding
 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.
Author: Abou Al Montacir <abou.almontacir@sfr.fr>
Forwarded: Yes
Bug: https://gitlab.com/freepascal.org/fpc/source/-/issues/41130
Last-Update: 2025-02-02
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 fr 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 versin 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 fr den Ressourcecompiler
+  Header für den Ressourcecompiler
 
 ********************************************/
 #define ID_ClientWindow	1