summaryrefslogtreecommitdiffstats
path: root/net-im/centericq/files
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-11-21 17:09:53 +0000
committersobomax <sobomax@FreeBSD.org>2002-11-21 17:09:53 +0000
commit1d2b1e8e550b8aedf7a9e20ceffd5dc81c964ae9 (patch)
tree4e401b13f93d9247b286ff8201028703e9594bf0 /net-im/centericq/files
parente4c8ab5431b864d0b6ab25b4bca3f78ea41c35f7 (diff)
downloadFreeBSD-ports-1d2b1e8e550b8aedf7a9e20ceffd5dc81c964ae9.zip
FreeBSD-ports-1d2b1e8e550b8aedf7a9e20ceffd5dc81c964ae9.tar.gz
When requested to do cp1251<->koi8 conversion convert to/from koi8-u, not
to koi8-r, so that not only Russian characters are converted proreply, but Ukrainian as well. Poked about by: Alex Belinsky <tormoz@baklan.kiev.ua> Approved by: maintainer
Diffstat (limited to 'net-im/centericq/files')
-rw-r--r--net-im/centericq/files/patch-src::centericq.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-im/centericq/files/patch-src::centericq.cc b/net-im/centericq/files/patch-src::centericq.cc
new file mode 100644
index 0000000..a3fa52c
--- /dev/null
+++ b/net-im/centericq/files/patch-src::centericq.cc
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- src/centericq.cc 2002/11/21 14:55:51 1.1
++++ src/centericq.cc 2002/11/21 14:56:12
+@@ -1460,8 +1460,8 @@
+ unsigned char *table = 0;
+
+ #ifdef HAVE_ICONV_H
+- if(tdir == "kw") r = siconv(text, "koi8-r", "cp1251"); else
+- if(tdir == "wk") r = siconv(text, "cp1251", "koi8-r"); else
++ if(tdir == "kw") r = siconv(text, "koi8-u", "cp1251"); else
++ if(tdir == "wk") r = siconv(text, "cp1251", "koi8-u"); else
+ #endif
+ r = text;
+
OpenPOWER on IntegriCloud