Package: zh-autoconvert / 0.3.16-5

014-convert-comments-to-utf8.patch Patch series | download
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
Description: Convert comments in C source code from GB2312 to UTF-8
 Committed to zh-autoconvert (0.3.16-4) on 2015-11-17.
Author: Anthony Fok <foka@debian.org>
Origin: vendor
Forwarded: no
Last-Update: 2015-11-17
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/autogb.c
+++ b/autogb.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh@debian.org>
+Copyright (C) 1999  于广辉  Yu Guanghui <ygh@debian.org>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
--- a/hzconvert/b2g.c
+++ b/hzconvert/b2g.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh@dlut.edu.cn>
+Copyright (C) 1999  于广辉  Yu Guanghui <ygh@dlut.edu.cn>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
--- a/hzconvert/b2g_tables.c
+++ b/hzconvert/b2g_tables.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh@dlut.edu.cn>
+Copyright (C) 1999  于广辉  Yu Guanghui <ygh@dlut.edu.cn>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
--- a/hzconvert/b2u.c
+++ b/hzconvert/b2u.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh@dlut.edu.cn>
+Copyright (C) 1999  于广辉  Yu Guanghui <ygh@dlut.edu.cn>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
--- a/hzconvert/g2u.c
+++ b/hzconvert/g2u.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh@dlut.edu.cn>
+Copyright (C) 1999  于广辉  Yu Guanghui <ygh@dlut.edu.cn>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
--- a/hzconvert/g2u_tables.c
+++ b/hzconvert/g2u_tables.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh@dlut.edu.cn>
+Copyright (C) 1999  于广辉  Yu Guanghui <ygh@dlut.edu.cn>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
--- a/hzconvert/hz2gb.c
+++ b/hzconvert/hz2gb.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh@dlut.edu.cn>
+Copyright (C) 1999  于广辉  Yu Guanghui <ygh@dlut.edu.cn>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
--- a/hzconvert/hztogb.c
+++ b/hzconvert/hztogb.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh@dlut.edu.cn>
+Copyright (C) 1999  于广辉  Yu Guanghui <ygh@dlut.edu.cn>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
--- a/hzconvert/io.c
+++ b/hzconvert/io.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh@dlut.edu.cn>
+Copyright (C) 1999  于广辉  Yu Guanghui <ygh@dlut.edu.cn>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
--- a/hzconvert/judge.c
+++ b/hzconvert/judge.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh@debian.org>
+Copyright (C) 1999  于广辉  Yu Guanghui <ygh@debian.org>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -41,7 +41,7 @@
 	char HZ_END[]="~}";
 
 
-/* first we look up "��"  and "��" ,both gb and big5
+/* first we look up "我"  and "的" ,both gb and big5
  * in the text.
  */
 	for(phz=buff;phz<(buff+count);phz++){
@@ -66,7 +66,7 @@
 		if(strstr(buff,HZ_START)!=NULL && strstr(buff,HZ_END)!=NULL){
 			return HZ_CODE;
 		}
-		/*There is not "��" and "��" in the text
+		/*There is not "我" and "的" in the text
 		 *So we test the text with a 400 words table.
 		 */
 		return j_code3(buff,count);		
--- a/hzconvert/judge3.c
+++ b/hzconvert/judge3.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 2000 �ڹ�� <ygh@debian.org>
+Copyright (C) 2000 于广辉 <ygh@debian.org>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
--- a/hzconvert/search.c
+++ b/hzconvert/search.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh@debian.org>
+Copyright (C) 1999  于广辉  Yu Guanghui <ygh@debian.org>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
--- a/hzconvert/unicode.c
+++ b/hzconvert/unicode.c
@@ -1,6 +1,6 @@
 /*
 AutoConvert, a Chinese HZ/GB/Big5 encodings auto-converter
-Copyright (C) 1999  �ڹ��  Yu Guanghui <ygh@dlut.edu.cn>
+Copyright (C) 1999  于广辉  Yu Guanghui <ygh@dlut.edu.cn>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by