List Info

Thread: comments encoding issue




comments encoding issue
user name
2006-11-06 23:57:07

Ljubo,

Thanks for the update. FYI, the "clone comment" is a placeholder for the thread, and it has been removed from the admin interface in v. 2.6.2 (i.e. it is there but won't be seen).

Sava

"Ljuba Rankovic&quot; <Ljuba.Rankovicmediaonweb.org>
11/06/2006 10:34 PM
Please respond to campsite-support

To: <campsite-supportcampware.org>
cc:
bcc:
Subject: Re: [campsite-support] comments encoding issue


Hi,

update regarding comments behaviour: when using template path setting,
comments are unreadable (every space is transformed to '+' sign, any
character that is not letter is represented with %something). However, when
you switch to short url, everything starts to work correctly. Cyrillic
comments are encoded correctly too (while on tpl path they were completelly
unreadable). At least on MOW servers.

There is another thing - when comment is posted, in comments moderating
screen one can notice the copy of comment - instead of subject, the copy has
article name, and the body of comment is empty; this clone comment cannot be
deleted, you can just make it new, hidden, or ban user (normal comment
offers possibility to delete it, which is very useful when - for example -
somebody is testing comment implementation). Clone is included in total
comment count in admin interface, but is not shown or counted on front end.

Ljuba

----- Original Message -----
From: "Holman Romero&quot; <holman.romerogmail.com&gt;
To: <campsite-supportcampware.org>
Sent: Monday, October 23, 2006 4:08 PM
Subject: Re: [campsite-support] comments encoding issue


> Raed !
>
>; Sava told me about the Author/Email problem in Campsite frontend
&gt; (templates) when writing comments in Arab. They are displayed in
> unicode encoding format. I figured out it is because the email
> obfuscation, so if you use:
>
> <!** print articlecomment readerEmail>
>
> instead of:
>
&gt; <!** print articlecomment readerEmailObfuscated>
>
&gt; they will be displayed in a right way.
>
> Arabic chars within the admin area are still working Ok for me, anyway.
&gt;
> let us know about your advance on this.
>
>
> On 10/23/06, Holman Romero <holman.romerogmail.com&gt; wrote:
>;> Raed! good morning!
&gt;>
>;> as Mugur pointed out, it works well on my system, i am able to manage
>;> Arabic characters all around Campsite.
>>
&gt;> be sure your pages have utf-8 like default charset, this is:
>&gt;
>> <meta http-equiv="content-type&quot; content=&quot;text/html; charset=utf-8"&gt;
>>
>> within the corresponding <head&gt; area.
>>
>&gt; on the other hand, in my case (i dont know Mugur's), utf-8 is the
>&gt; default charset for data storage in the MySQL database. check this out
>&gt; too.
>&gt;
>>;
>> On 10/19/06, Holman Romero <holman.romerogmail.com&gt; wrote:
>;> > hi Raed !
>> >
>&gt; > let me read on the thread and i will tell you something as soon as i
>> > finished.
>> >
>&gt; >
>&gt; >
>&gt; > On 10/19/06, Raed Neshiewat <raedtamamtech.com> wrote:
>;> > > Hi Holman,
&gt;> > >
>&gt; > > Do you have any suggestion on fixing this? We can give you access to
>>; > > the
>&gt; > > server to check it out if you want.
>> > >
>&gt; > > Thanks.
&gt;> > >
>&gt; > > _______________________________
>> > > Raed Neshiewat
>> > > Director
&gt;> > > TamamTech Inc.
>&gt; > > PO Box: 940424
>;> > > Amman, Jordan 11118
>> > > Tel: +962 6 566 9700
>&gt; > > Fax: +962 6 566 9730
>&gt; > > Email: raedtamamtech.com
>>; > >
>&gt; > > -----Original Message-----
>> > > From: Mugur Rus [mailto:mugur1973yahoo.com]
>> > > Sent: Tuesday, October 17, 2006 4:11 PM
>>; > > To: campsite-supportcampware.org
>> > > Cc: archivetamamtech.com
>>; > > Subject: RE: [campsite-support] comments encoding issue
>> > >
>&gt; > > Hi,
>&gt; > >
>&gt; > > Holman, could you take over support staff and urgent issues like this
>&gt; > > encoding problem? I surely
>;> > > won't be able to reply quickly to these requests this week.
>> > >
>&gt; > > Regarding the encoding issue, I wasn't able to replicate it, works ok
>>; > > on my
>>; > > system. Please debug
>> > > this on code.campware.org and cs-dev.
&gt;> > >
>&gt; > > Mugur
>> > >
>&gt; > > --- sava.taticmdlf.org wrote:
>;> > > > Actually,
>> > > >
>&gt; > > > As Mugur is moving to his new apartment, Holman, can you take a
>> > > > look at
>>; > > > this?  (Mugur, if you get around to it, you can do it too, but
>&gt; > > > let's solve
>> > > > this issue).
&gt;> > > >
>&gt; > > > Sava
>&gt; > > >
>&gt; > > >
>&gt; > > >
>&gt; > >
>&gt; > > >
>&gt; > > >                       "Raed Neshiewat&quot;
>&gt; > >
>&gt; > > >
>&gt; > > >                       <raedtamamtech.c        To:
>> > > <campsite-supportcampware.org>
>> > > >
>&gt; > > >                       om>                      cc:
>> > > <archivetamamtech.com>
>;> > > >
>&gt; > > >                                                Subject:  RE:
>> > > [campsite-support] comments
&gt;> > > > encoding issue
>> > > >                       17/10/2006 08:27
>> > >
>&gt; > > >
>&gt; > > >                       AM
>>; > >
>&gt; > > >
>&gt; > > >                       Please respond to
>>; > >
>&gt; > > >
>&gt; > > >                       campsite-support
>> > >
>&gt; > > >
>&gt; > > >
>&gt; > >
>&gt; > > >
>&gt; > > >
>&gt; > >
>&gt; > > >
>&gt; > > >
>&gt; > > >
>&gt; > > >
>&gt; > > >
>&gt; > > > Hello Mugur,
>;> > > >
>&gt; > > > The server has the latest PHPwrapper 1.1.7 and the site default
&gt;> > > > character
>> > > > set is UTF-8 however the problem still exists.
&gt;> > > >
>&gt; > > > I tried changing the character set to windows-1256 (Arabic). The
>&gt; > > > whole
>> > > page
>&gt; > > > came out garbage but when I submitted the comment, it was saved and
>&gt; > > > displayed in the campsite interface the same way it is when we
>>; > > > submitted
>> > > > the comment with UTF-8 encoding. So it seems that the page encoding
&gt;> > > > has
>&gt; > > > nothing to do with way the Arabic comments are saved.
>;> > > >
>&gt; > > > We also ran into a runtime error when were deleting the comments.
>> > > > We
>>; > > > submitted the error using the Bug reporter. Did you get it?
>&gt; > > >
>&gt; > > > What do you think we can do to solve the issue with Arabic
>;> > > > comments?
>> > > >
>&gt; > > > _______________________________
>> > > > Raed Neshiewat
>> > > > Director
&gt;> > > > TamamTech Inc.
>&gt; > > > PO Box: 940424
>;> > > > Amman, Jordan 11118
>> > > > Tel:    +962 6 566 9700
>&gt; > > > Fax:   +962 6 566 9730
>&gt; > > > Email: raedtamamtech.com
>>; > > >
>&gt; > > >
>&gt; > > > -----Original Message-----
>> > > > From: Mugur Rus [mailto:mugur1973yahoo.com]
>> > > > Sent: Thursday, September 28, 2006 10:55 PM
>>; > > > To: campsite-supportcampware.org
>> > > > Subject: Re: [campsite-support] comments encoding issue
>> > > >
>&gt; > > > Hi Fadi,
>> > > >
>&gt; > > > Please make sure the following conditions are met:
>&gt; > > > - you installed the latest PHPwrapper (1.1.7)
&gt;> > > > - the site default character set is UTF-8
>> > > >
>&gt; > > > I tested comments with both cyrillic and arabic characters and IT
>>; > > > WORKS
>> > > > correctly on my computer (see attached screenshots), so it's not a
>> > > Campsite
&gt;> > > > bug.
>&gt; > > >
>&gt; > > > Regards,
&gt;> > > > Mugur
>> > > >
>&gt; > > > --- Fadi <faditamamtech.com> wrote:
>;> > > > > We are trying to implement the comments but we are having a
>> > > > > problem
&gt;> > > > > viewing the comments in the admin interface. The comments which
>> > > > > are
>&gt; > > > > originally in arabic are displayed in unicode encoding format
>;> > > > > such as:
>&gt; > > > >
>&gt; > > > > %D8%B1%D8%A4%D9%84%D8%A7%D8%A4%D8%B1
>&gt; > > > >
>&gt; > > > > See the attach image how the comments are displayed in the admin
>> > > > interface.
>> > > > >
>&gt; > > > > Fadi Abu Essa
>&gt; > > > > Senior Developer
>> > > > > TamamTech Inc.
>&gt; > > > > http://www.tamamtech.com
>&gt; > > > > Phone: +962 6 5669700
&gt;> > > >
>&gt; > > > __________________________________________________
>;> > > > Do You Yahoo!?
&gt;> > > > Tired of spam?  Yahoo! Mail has the best spam protection around
>;> > > > http://mail.yahoo.com
>> > > >
>&gt; > > >
>&gt; > > >
>&gt; > > >
>&gt; > > >
>&gt; > > > Invest in Press Freedom: Visit
>> > > > http://www.mdlf.org/support-free-press
>;> > > >
>&gt; > > >
>&gt; > > >
>&gt; > >
>&gt; > >
>&gt; > > __________________________________________________
>;> > > Do You Yahoo!?
&gt;> > > Tired of spam?  Yahoo! Mail has the best spam protection around
>;> > > http://mail.yahoo.com
>> > >
>&gt; > >
>&gt; > >
>&gt; > >
>&gt; >
>&gt; >
>&gt; > --
>>; > /holman
&gt;> >
>&gt;
>>;
>> --
>>; /holman
&gt;>
>
>
> --
> /holman

[1]

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