aboutsummaryrefslogtreecommitdiffstats
path: root/www/ljsm/files/patch-aa
blob: 73f197c731502fbc167a65df60b7cac8faf6a9f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ljsm.pl.orig    Sun Dec 21 23:15:16 2003
+++ ljsm.pl Sat Jun 18 21:31:48 2005
@@ -57,7 +57,7 @@
 use constant PASSWORD      => '';
 use constant START_YEAR        => 2001;    # fetch data back to this year
 use constant UTF8_DECODE   => 0;       # convert text to local charset
-use constant LOCAL_CHARSET => 'CP1251'; # windows cyrillic
+use constant LOCAL_CHARSET      => 'KOI8-R'; # Unix cyrillic
 use constant DEBUG_LEVEL   => 3;       # 0 - quiet, 1 - essential, 2 - verbose
 use constant LOCAL_DIR     => '';      # local directory to put files into. Leave it empty to put in the current directory. Slash (/, if not empty) in the end required.
 use constant HTTP_PROXY        => '';      # set proxy URL if you use http proxy
@@ -296,7 +296,7 @@
        if (defined $exportform) {
            #$exportform->dump();
            $exportform->value('format', 'xml');
-           $exportform->value('encid', 3); # 6 for KOI-8
+           $exportform->value('encid', 2); # 6 for KOI-8
            # uncomment next line to skip translation between encodings
            # $exportform->value('notranslation', 1);