Internationalixation

19 views
Skip to first unread message

Evgeniy Alexeev

unread,
Oct 14, 2010, 1:04:29 AM10/14/10
to pococapsule
Hello again. How can I use international strings in setup.xml? When I
put a cyrillic string there it says: Error: string index out of
range(-1). The encoding is utf-8

Evgeniy Alexeev

unread,
Oct 14, 2010, 5:04:20 AM10/14/10
to pococapsule
The same thing is with iso and win-1251 encoding.

Evgeniy Alexeev

unread,
Oct 15, 2010, 5:37:15 AM10/15/10
to pococapsule
When I use a string for xml file it loads sucsessfully, but I see "?"
signs instead of local letters.

Ke Jin

unread,
Oct 16, 2010, 4:39:17 PM10/16/10
to pococapsule
Pococapsule does not support non-ascii strings in deployment
descriptor. I don't see why someone would have to use non-ascii
strings as function names or initial configuration parameters.

Ke

Evgeniy Alexeev

unread,
Oct 18, 2010, 12:06:02 AM10/18/10
to pococapsule

For example I want to use it for initializing UI classes, containing
user messages.

Evgeniy Alexeev

unread,
Oct 18, 2010, 12:31:38 AM10/18/10
to pococapsule
And another strange thing - it works fine on Linux.

Evgeniy Alexeev

unread,
Oct 18, 2010, 12:41:01 AM10/18/10
to pococapsule
Under Linux with russian symbols in setup.xml pxencode throws
exceptions, but when working with setup.xml It works. The only thing I
did - I replaced libpocoxsl.lib with a link to libpocoxml.lib. But the
same thing on my windows machine does not work.

Evgeniy Alexeev

unread,
Oct 18, 2010, 12:47:17 AM10/18/10
to pococapsule

Can I make my pococapsule using program not to use Java on windows
machine?

Ke Jin

unread,
Oct 18, 2010, 4:20:40 PM10/18/10
to pococapsule
I think this is documented: if your main is linked (or loaded) the
libpocoxml.dll, then, the main will not invoke Java.

Ke

Evgeniy Alexeev

unread,
Oct 20, 2010, 8:29:27 AM10/20/10
to pococapsule
I know it. But somehow this method works only under linux. May be I'm
doing something wrong. I uncommented the string with LIBPOCOXML in
stdmk and tryed to compile hello example, and it still uses Java.

Evgeniy Alexeev

unread,
Oct 20, 2010, 12:13:15 PM10/20/10
to pococapsule

I've deleted pocoxsl.dll and copyed pocoxml.dll with name pocoxsl.dll.
Now it does'not use java, but it want to use xerces 2_7, which is no
longer available. I've downloaded it from archive, but when I try to
start my program it says that can't find some entry in xerces.

Evgeniy Alexeev

unread,
Oct 20, 2010, 2:46:06 PM10/20/10
to pococapsule
Trying to recompile xmlreader under windows. It's realy hard. Under
Linux it have compiled in two clicks. Under windows it doesn't.

Evgeniy Alexeev

unread,
Oct 21, 2010, 1:40:47 PM10/21/10
to pococapsule

I've tried to recompil xmlreader with xerces 2_8 and 3_1 but in both
cases I got heap corruption error while running my App.
Is there any method to compile pococapsule parts with nmake?

Ke Jin

unread,
Oct 22, 2010, 4:08:46 PM10/22/10
to pococapsule
The build need shell and gmake on windows. You can rebuild to 2_8.
Check some previous posts to see someone else have done that.

Ke
Reply all
Reply to author
Forward
0 new messages