[Zope] Re: [Docutils-develop] ReStructuredText now in Zope

Richard Jones rjones@ekit-inc.com
Sat, 17 Aug 2002 20:16:53 +1000


On Sat, 17 Aug 2002 7:48 pm, Dieter Maurer wrote:
> Richard Jones writes:
>  > On Thu, 15 Aug 2002 11:31 pm, Andreas Jung wrote:
>  > > This problem occurs when you try to convert non-ascii text
>  > > to unicode without specifying the used encoding. I have
>  > > not looked at the ReStructuredText product yet but there
>  > > should be some mechanism to specify the encoding for a text.
>  >
>  > There is - how do I determine the encoding from Zope?
>
> You might be able to derive in from the current "locale".
> Not easy, though, more a guess.

If I understand it correctly, docutils already does that.


    Richard