Hello all!

I've just set up new web server, and installed AxKit 1.6 (there is 1.4 on
the old one).
Our XPathScripts on 1.4 (XPathScriptCharset CP1251, AxOutputCharset CP1251
and patched AxKit source for "use bytes;") works ok. We patched new release
the same way but it doesnt works...

There is excerpt from error_log:
-----------------------------------
[Tue Oct 15 11:45:08 2002] [warn] [client 195.128.133.80] [AxKit] writing
xml string to browser
[Tue Oct 15 11:45:08 2002] [warn] [client 195.128.133.80] [AxKit] Caught an
exception
[Tue Oct 15 11:45:08 2002] [error] [client 195.128.133.80] [AxKit] [Error]
Character not from source char set: Invalid or incomplete multibyte or wide
character at /usr/local/lib/perl/5.6.1/AxKit.pm line 94.

[Tue Oct 15 11:45:08 2002] [error] [client 195.128.133.80] [AxKit] From:
/usr/local/lib/perl/5.6.1/Apache/AxKit/Exception.pm : 9
[Tue Oct 15 11:45:08 2002] [error] [client 195.128.133.80] [AxKit]
[Backtrace] Character not from source char set: Invalid or incomplete
multibyte or wide character at /usr/local/lib/perl/5.6.1/AxKit.pm line 94.
 Apache::AxKit::Exception::new('Apache::AxKit::Exception::Error', '-text',
'Character not from source char set: Invalid or incomplete multib...')
called at /usr/local/lib/perl/5.6.1/AxKit.pm line 840
 AxKit::prep_exception('Character not from source char set: Invalid or
incomplete multib...') called at /usr/local/lib/perl/5.6.1/AxKit.pm line 192
 AxKit::__ANON__('Character not from source char set: Invalid or incomplete
multib...') called at /usr/local/lib/perl/5.6.1/AxKit.pm line 94
 AxKit::__ANON__('^M^J^M^J<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN...') called at /usr/local/lib/perl/5.6.1/AxKit.pm line 804
 AxKit::deliver_to_browser('Apache=SCALAR(0x815fe24)', 0) called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 273
 eval {...} called at /usr/local/lib/perl/5.6.1/AxKit.pm line 256
 AxKit::main_handler('Apache=SCALAR(0x815fe24)',
'Apache::AxKit::Provider::File=HASH(0x8ee4d24)') called at
/usr/local/lib/perl/5.6.1/AxKit.pm line 227
 AxKit::handler('Apache=SCALAR(0x815fe24)') called at /dev/null line 0
 eval {...} called at /dev/null line 0
-----------------------------------

We know that using UTF-8 is the best solution to avoid such errors, but this
way is very, very uncomfortable for us.
We uses a couple other mod_perl handlers on the same site, we works with
databases, which store data in cp1251 etc...
Please, advice us how to patch the source or may be is there a way to add
switch in Makefile for using single byte charsets.

Versions:

perl, v5.6.1 built for i386-linux
Apache/1.3.26 (Unix) AxKit/1.6 mod_perl/1.27
$XML::Parser::VERSION = '2.31';

---
Greg Belenky
WebZavod (http://www.webzavod.ru) programmer



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to