From: Robert B. H. <rb...@ok...> - 2004-05-29 21:08:48
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Glad to have been some help. Normally, its the other way around! Rob 2004 5=1B$B7n=1B(B 29 =1B$BEZMKF|=1B(B 17:26=1B$B!"=1B(BItai Tavor =1B$B$5$= s$O=3Dq$-$^$7$?=1B(B: > 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=1B$B7n=1B(B 24 =1B$B7nMKF|=1B(B 14:06=1B$B!"=1B(BRobert B. Hawk= ins =1B$B$5$s$O=3Dq$-$^$7$?=1B(B: > >>> 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=1B$B7n=1B(B 24 =1B$B7nMKF|=1B(B 12:45=1B$B!"=1B(BRobert B. Haw= kins =1B$B$5$s$O=3Dq$-$^$7$?=1B(B: > >>>> 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=1B$B7n=1B(B 24 =1B$B7nMKF|=1B(B 11:46=1B$B!"=1B(BItai Tavor = =1B$B$5$s$O=3Dq$-$^$7$?=1B(B: > >>>>> 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=3D3149&alloc_id=3D8166&op=3Dclick > > _______________________________________________ > > Plone-i18n mailing list > > Plo...@li... > > https://lists.sourceforge.net/lists/listinfo/plone-i18n > > ------------------------------------------------------- > 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=3D3149&alloc_id=3D8166&op=3Dclick > _______________________________________________ > Plone-i18n mailing list > Plo...@li... > https://lists.sourceforge.net/lists/listinfo/plone-i18n =2D --=20 Robert B. Hawkins =1B$B%m%P!<%H!&%[!<%-%s%:=1B(B http://www.okihawk.org http://okiit.okihawk.org http://www.okiwell.org http://www.ospi.jp rb...@ok... Key fingerprint =3D 3B4D 6F6C A207 0CB7 4863 74F7 D63B D732 9764 6CC8 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAuP2R1jvXMpdkbMgRAt6PAKC0Rz1+U7q16fFDXue8hGXY42vkiwCghNZ1 qymspYYKS6KgbMPoXxr56H8=3D =3Ds1YT =2D----END PGP SIGNATURE----- |