[Zope] Accessing an External Executable

Tino Wildenhain tino@wildenhain.de
Wed, 02 Oct 2002 20:10:15 +0200


Hi Aaron,

you dont need external programs for this.
Python has recoding built in. If you are using
a recent version of Zope, you can just use
unicode() and <Stringobject>.encode() for this.
See Python documentation.

mystring="Hallo"

ustring=unicode("Hallo","iso859-1")

newstring=ustring.encode("utf-8")

Regards
Tino



--On Mittwoch, 2. Oktober 2002 12:40 -0500 abg@comco-inc.com wrote:

> What is the best way to access and external .EXE and return a value to
> Zope on Win2000? Specifically, I'd like to interface with recode
> (http://www.iro.umontreal.ca/contrib/recode/HTML/index.html) from the ZMI.
>
> Thanks,
>
> Aaron Gillette
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )