From: Itai T. <it...@ii...> - 2004-05-29 08:26:27
|
No problems using euc-jp. Thanks for pointing me in the right direction, Robert. And bye-bye, utf-8. It has not been fun. On 28/05/2004, at 11:42 AM, Itai Tavor wrote: > Hi Robert, > > I'm quite sure it's not a problem with just certain characters... any > Japanese text we tried caused the problem. I can't try the same setup > you're using because I need customized content types with the features > of BaseFolder from I18NLayer. I might try to switch from utf-8 to > euc-jp... would require overriding header.pt to change the encoding > for different languages. Pain. Anyway, I'll try it and report how it > goes. > > Thanks, Itai > > > On 25/05/2004, at 10:24 AM, Robert B. Hawkins wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> 2004 5月 24 月曜日 14:06、Robert B. Hawkins さんは書きました: >>> Never mind, it appears the versioin I use doesn't support >>> i18nlayer versions....I would welcome corrections on that >>> perception. >> Sorry, I meant I18nFolder....that should teach to respond >> when I am doing something else. What I meant to say was >> that it appeared that the version of I18NLayer I was using >> didn't seem to support folders. I then installed I18NFolder. >> >> Zope 2.7.0 >> CMF 1.4.4 >> Plone 2.0.3 >> Archetypes (Installed product Archetypes (1.2.5-rc4)) >> I18NLayer (Installed product I18NLayer (UNRELEASED/CVS)) >> I18NFolder (Installed product I18NFolder (2.01)) >> >> The I18NLayer is the psol-redux branch while I18NFolder >> is the version from cvs under ingeniweb. >> >> I have not extenstively tested it, however, I don't seem >> to run into that problem. What I have found from experience >> though is that you will run into this problem on certain >> japanese characters or combination of characters. I tend >> to have had this problem when using utf-8, but never had it >> using euc-jp(that I can recall anyway). >> >> Perhaps you can send me the japanese characters you are using so I can >> try and replicate it. >> >> Rob >>> >>> Rob >>> >>> 2004 5月 24 月曜日 12:45、Robert B. Hawkins さんは書きました: >>>> Hi, >>>> >>>> I will see if I can replicate your problem, though >>>> my set up is a tad bit different. I do use psol-redux >>>> branch of I18Nlayer though. >>>> >>>> Rob >>>> >>>> 2004 5月 24 月曜日 11:46、Itai Tavor さんは書きました: >>>>> Hi, >>>>> >>>>> I've been stuck for weeks with a problem in BaseFolder-based >>>>> I18NLayer objects, using the I18NLayer-AT1_2 branch. The problem >>>>> occurs when entering Japanese text in the title of such objects. >>>>> When I do that, I get this: >>>>> >>>>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe3 in >>>>> position 5: ordinal not in range(128) >>>>> >>>>> I get this in the I18NLayer's breadcrumbs.py, and if I remove >>>>> that I get the same in Products.CMFPlone.StatelessTreeNav, line >>>>> 238, in buildFlatMenuStructure. >>>>> >>>>> I don't get this with BaseContent-based objects, nor with >>>>> Folderish Archetypes content that isn't I18N. >>>>> >>>>> My setup is Zope 2.7.0, Plone 2.0, Archetypes 1.4.2, Python >>>>> 2.3.3, I18NLayer-AT1_2 from CVS. >>>>> >>>>> This problem has put me in serious trouble with the progress of >>>>> my CMS... I'd appreciate any help. If anyone is using I18NLayer >>>>> in a similar setup and not getting these errors, please help me >>>>> compare our setups. >>>>> >>>>> TIA, Itai > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle > 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Plone-i18n mailing list > Plo...@li... > https://lists.sourceforge.net/lists/listinfo/plone-i18n > |