List Info

Thread: Re: Unicode Error




Re: Unicode Error
user name
2007-03-16 10:23:26
Hi Dorneles.   Did the fix make it into the 2.5.2 Plone
bundle? That 
is what we are currently using, installed clean, and is
where we 
experienced the problem.  We are also using Zope 2.9.6 and
its 
associated products.

I did resolveit by adding <python>/lib/site-packages

with the lines 

  import sys
  sys.setdefaultencoding("utf-8")

As suggested by Russ.


-- 
Harlow Pinson
Indepth Learning
Email: hpinsonindepthl.com
Phone: 505 994-2135
Fax: 505 994-3603


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plone-i18n mailing list
Plone-i18nlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-i18n

Re: Unicode Error
country flaguser name
Brazil
2007-03-16 15:18:24
Hello Harlow,

> Did the fix make it into the 2.5.2 Plone bundle?

there's no bundles for minor versions. There's only a 2.5
bundle[1]
and it uses the CMFFormController 2.0 branch, which contains
the
mentioned fix.

Of course, it'll be included into the yet-to-be-released
2.5.3
Plone version, but not in the already released 2.5.2.

> That is what we are currently using, installed clean,
and is
> where we experienced the problem. We are also using
Zope 2.9.6
> and its associated products.

Sure, no problems in using released software. But keep in
mind
that before reporting a new bug, it's recommended that you
first
check if it wasn't already fixed in the latest (not yet
released)
versions.

Just to make my point, this particular issue was already
reported
before, a quick search point us to:

http://dev.plo
ne.org/plone/ticket/6065

BTW, Zope 2.9.6 also has some nasty bugs... 

> I did resolveit by adding
<python>/lib/site-packages
> 
> with the lines 
> 
>   import sys
>   sys.setdefaultencoding("utf-8")
> 
> As suggested by Russ.

It's a possible solution, but only use it if you know the
implications. Google for 'setdefaultencoding is evil' to
have
an idea... 

[1]http://svn
.plone.org/svn/plone/bundles/2.5
[2]http://svn.plone.org/svn/collective/CMFFormCon
troller/branches/2.0

Kindly regards,

-- 
 ___________________________________________________________
________

       Dorneles Treméa · Developer · Plone Solutions ·
Brazil

   Consulting · Training · Development · http://plonesolutions.com
 ___________________________________________________________
________

  Plone Foundation · http://plone.org/foundati
on · Protecting Plone


------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plone-i18n mailing list
Plone-i18nlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plone-i18n

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )