Re: convert from source to target encoding

2006-07-13 Thread Frédéric Leroy
Le vendredi 07 juillet 2006 à 19:34 +0200, Frédéric Leroy a écrit :
> I'm new to plucker and I have the same problem (unter linux).
> 
> How do I convert utf8 grabbed page to another charset ?
> 
> --filter doesn't work with version 1.8
I patched Spider.py to make --filter works. It's already in CVS, but if
it can help somebody ;)
And I opened a new bug in Ubuntu dapper also ...

--- /usr/lib/python2.4/site-packages/PyPlucker/Spider.py
2006-01-16 07:19:33.0 +0100
+++ Spider.py   2006-07-13 17:11:44.0 +0200
@@ -1395,7 +1395,7 @@
 "status-file=", "version",
 "tables", "depth-first",
"http-proxy=",
 "http-proxy-user=",
"http-proxy-pass=",
-"fragments=", "creator-id=",
+"fragments=", "creator-id=",
"filter=",
 "bookmarks="])
 if args:
 # usage ("Only options are allowed as arguments.")

___
plucker-list mailing list
plucker-list@rubberchicken.org
http://lists.rubberchicken.org/mailman/listinfo/plucker-list


Re: convert from source to target encoding

2006-07-07 Thread Frédéric Leroy
I'm new to plucker and I have the same problem (unter linux).

How do I convert utf8 grabbed page to another charset ?

--filter doesn't work with version 1.8
I tried {before|after}_command in pluckerrc without success
This problem seems frequent but there is nothing in the faq.

Is plucker Team still alive ? 

Regards,

___
plucker-list mailing list
plucker-list@rubberchicken.org
http://lists.rubberchicken.org/mailman/listinfo/plucker-list


Re: convert from source to target encoding

2006-05-23 Thread Alexander Sashnov
Alexander Sashnov <[EMAIL PROTECTED]> writes:

> What's the target encoding used in plucker-build?
> Can I change it?

may be it getten from current locale?
If so its need to put it to documentation or FAQ in anyway.

My palmOS locale is not match with locale in Linux.

-- 
Alexander Sashnov
ICQ UIN: 79404252
JID: [EMAIL PROTECTED]

___
plucker-list mailing list
plucker-list@rubberchicken.org
http://lists.rubberchicken.org/mailman/listinfo/plucker-list


convert from source to target encoding

2006-05-23 Thread Alexander Sashnov
What's the target encoding used in plucker-build?
Can I change it?

The source .html in the utf-8 encoding, contains text on russian.
My Palm device have russian font for display text in windows-1251.

Option --charset=windows-1251 is not helps- seems its only override
_source_ text encoding. But I need to specify _target_ encoding.

I found nothing about target encoding in documentation and FAQ.

-- 
Alexander Sashnov
ICQ UIN: 79404252
JID: [EMAIL PROTECTED]

___
plucker-list mailing list
plucker-list@rubberchicken.org
http://lists.rubberchicken.org/mailman/listinfo/plucker-list