List Info

Thread: comments encoding issue




comments encoding issue
user name
2006-11-07 23:02:56
Hi Ljuba,

I fixed the bug, please ask Ondra to install the attached
files (index.php, parser_utils.php) into
the directory: /usr/local/campsite/www-common/html

Mugur

--- Ljuba Rankovic <Ljuba.Rankovicmediaonweb.org> wrote:
> 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" <holman.romerogmail.com>
> 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
> > (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:
> >
> > <!** print articlecomment
readerEmailObfuscated>
> >
> > they will be displayed in a right way.
> >
> > Arabic chars within the admin area are still
working Ok for me, anyway.
> >
> > let us know about your advance on this.
> >
> >
> > On 10/23/06, Holman Romero <holman.romerogmail.com> wrote:
> >> Raed! good morning!
> >>
> >> as Mugur pointed out, it works well on my
system, i am able to manage
> >> Arabic characters all around Campsite.
> >>
> >> be sure your pages have utf-8 like default
charset, this is:
> >>
> >> <meta http-equiv="content-type"
content="text/html; charset=utf-8">
> >>
> >> within the corresponding <head> area.
> >>
> >> on the other hand, in my case (i dont know
Mugur's), utf-8 is the
> >> default charset for data storage in the MySQL
database. check this out
> >> too.
> >>
> >>
> >> On 10/19/06, Holman Romero
<holman.romerogmail.com> wrote:
> >> > hi Raed !
> >> >
> >> > let me read on the thread and i will tell
you something as soon as i 
> >> > finished.
> >> >
> >> >
> >> >
> >> > On 10/19/06, Raed Neshiewat <raedtamamtech.com> wrote:
> >> > > Hi Holman,
> >> > >
> >> > > Do you have any suggestion on fixing
this? We can give you access to 
> >> > > the
> >> > > server to check it out if you want.
> >> > >
> >> > > Thanks.
> >> > >
> >> > > _______________________________
> >> > > Raed Neshiewat
> >> > > Director
> >> > > TamamTech Inc.
> >> > > PO Box: 940424
> >> > > Amman, Jordan 11118
> >> > > Tel: +962 6 566 9700
> >> > > Fax: +962 6 566 9730
> >> > > Email: raedtamamtech.com
> >> > >
> >> > > -----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
> >> > >
> >> > > Hi,
> >> > >
> >> > > Holman, could you take over support
staff and urgent issues like this
> >> > > encoding problem? I surely
> >> > > won't be able to reply quickly to
these requests this week.
> >> > >
> >> > > 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.
> >> > >
> >> > > Mugur
> >> > >
> >> > > --- sava.taticmdlf.org wrote:
> >> > > > Actually,
> >> > > >
> >> > > > 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 
> >> > > > let's solve
> >> > > > this issue).
> >> > > >
> >> > > > Sava
> >> > > >
> >> > > >
> >> > > >
> >> > >
> >> > > >
> >> > > >                      
"Raed Neshiewat"
> >> > >
> >> > > >
> >> > > >                      
<raedtamamtech.c        To:
> >> > > <campsite-supportcampware.org>
> >> > > >
> >> > > >                       om>   
                  cc:
> >> > > <archivetamamtech.com>
> >> > > >
> >> > > >                                
               Subject:  RE:
> >> > > [campsite-support] comments
> >> > > > encoding issue
> >> > > >                      
17/10/2006 08:27
> >> > >
> >> > > >
> >> > > >                       AM
> >> > >
> >> > > >
> >> > > >                       Please
respond to
> >> > >
> >> > > >
> >> > > >                      
campsite-support
> >> > >
> >> > > >
> >> > > >
> >> > >
> >> > > >
> >> > > >
> >> > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > >
> >> > > > Hello Mugur,
> >> > > >
> >> > > > The server has the latest
PHPwrapper 1.1.7 and the site default 
> >> > > > character
> >> > > > set is UTF-8 however the
problem still exists.
> >> > > >
> >> > > > I tried changing the character
set to windows-1256 (Arabic). The 
> >> > > > whole
> >> > > page
> >> > > > came out garbage but when I
submitted the comment, it was saved and
> >> > > > 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 
> >> > > > has
> >> > > > nothing to do with way the
Arabic comments are saved.
> >> > > >
> >> > > > We also ran into a runtime
error when were deleting the comments. 
> >> > > > We
> >> > > > submitted the error using the
Bug reporter. Did you get it?
> >> > > >
> >> > > > What do you think we can do to
solve the issue with Arabic 
> >> > > > comments?
> >> > > >
> >> > > > _______________________________
> >> > > > Raed Neshiewat
> >> > > > Director
> >> > > > TamamTech Inc.
> >> > > > PO Box: 940424
> >> > > > Amman, Jordan 11118
> >> > > > Tel:    +962 6 566 9700
> >> > > > Fax:   +962 6 566 9730
> >> > > > Email: raedtamamtech.com
> >> > > >
> >> > > >
> >> > > > -----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
> >> > > >
> >> > > > Hi Fadi,
> >> > > >
> 
=== message truncated ===



 
____________________________________________________________
________________________
Sponsored Link

Get an Online or Campus degree
Associate's, Bachelor's, or Master's - in less than one
year.
http://www.findther
ightschool.com
comments encoding issue
user name
2006-11-08 07:19:45
Done.
Ondra

Mugur Rus píše v út 07. 11. 2006 v 15:02 -0800:
> Hi Ljuba,
> 
> I fixed the bug, please ask Ondra to install the
attached files (index.php, parser_utils.php) into
> the directory: /usr/local/campsite/www-common/html
> 
> Mugur
> 
> --- Ljuba Rankovic <Ljuba.Rankovicmediaonweb.org> wrote:
> > 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"
<holman.romerogmail.com>
> > 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
> > > (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:
> > >
> > > <!** print articlecomment
readerEmailObfuscated>
> > >
> > > they will be displayed in a right way.
> > >
> > > Arabic chars within the admin area are still
working Ok for me, anyway.
> > >
> > > let us know about your advance on this.
> > >
> > >
> > > On 10/23/06, Holman Romero
<holman.romerogmail.com> wrote:
> > >> Raed! good morning!
> > >>
> > >> as Mugur pointed out, it works well on my
system, i am able to manage
> > >> Arabic characters all around Campsite.
> > >>
> > >> be sure your pages have utf-8 like
default charset, this is:
> > >>
> > >> <meta
http-equiv="content-type" content="text/html;
charset=utf-8">
> > >>
> > >> within the corresponding <head>
area.
> > >>
> > >> on the other hand, in my case (i dont
know Mugur's), utf-8 is the
> > >> default charset for data storage in the
MySQL database. check this out
> > >> too.
> > >>
> > >>
> > >> On 10/19/06, Holman Romero
<holman.romerogmail.com> wrote:
> > >> > hi Raed !
> > >> >
> > >> > let me read on the thread and i will
tell you something as soon as i 
> > >> > finished.
> > >> >
> > >> >
> > >> >
> > >> > On 10/19/06, Raed Neshiewat
<raedtamamtech.com> wrote:
> > >> > > Hi Holman,
> > >> > >
> > >> > > Do you have any suggestion on
fixing this? We can give you access to 
> > >> > > the
> > >> > > server to check it out if you
want.
> > >> > >
> > >> > > Thanks.
> > >> > >
> > >> > > _______________________________
> > >> > > Raed Neshiewat
> > >> > > Director
> > >> > > TamamTech Inc.
> > >> > > PO Box: 940424
> > >> > > Amman, Jordan 11118
> > >> > > Tel: +962 6 566 9700
> > >> > > Fax: +962 6 566 9730
> > >> > > Email: raedtamamtech.com
> > >> > >
> > >> > > -----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
> > >> > >
> > >> > > Hi,
> > >> > >
> > >> > > Holman, could you take over
support staff and urgent issues like this
> > >> > > encoding problem? I surely
> > >> > > won't be able to reply quickly
to these requests this week.
> > >> > >
> > >> > > 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.
> > >> > >
> > >> > > Mugur
> > >> > >
> > >> > > --- sava.taticmdlf.org
wrote:
> > >> > > > Actually,
> > >> > > >
> > >> > > > 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 
> > >> > > > let's solve
> > >> > > > this issue).
> > >> > > >
> > >> > > > Sava
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> > > >
> > >> > > >                      
"Raed Neshiewat"
> > >> > >
> > >> > > >
> > >> > > >                      
<raedtamamtech.c        To:
> > >> > > <campsite-supportcampware.org>
> > >> > > >
> > >> > > >                      
om>                      cc:
> > >> > > <archivetamamtech.com>
> > >> > > >
> > >> > > >                           
                    Subject:  RE:
> > >> > > [campsite-support] comments
> > >> > > > encoding issue
> > >> > > >                      
17/10/2006 08:27
> > >> > >
> > >> > > >
> > >> > > >                       AM
> > >> > >
> > >> > > >
> > >> > > >                      
Please respond to
> > >> > >
> > >> > > >
> > >> > > >                      
campsite-support
> > >> > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> > > >
> > >> > > >
> > >> > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > Hello Mugur,
> > >> > > >
> > >> > > > The server has the latest
PHPwrapper 1.1.7 and the site default 
> > >> > > > character
> > >> > > > set is UTF-8 however the
problem still exists.
> > >> > > >
> > >> > > > I tried changing the
character set to windows-1256 (Arabic). The 
> > >> > > > whole
> > >> > > page
> > >> > > > came out garbage but when
I submitted the comment, it was saved and
> > >> > > > 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 
> > >> > > > has
> > >> > > > nothing to do with way the
Arabic comments are saved.
> > >> > > >
> > >> > > > We also ran into a runtime
error when were deleting the comments. 
> > >> > > > We
> > >> > > > submitted the error using
the Bug reporter. Did you get it?
> > >> > > >
> > >> > > > What do you think we can
do to solve the issue with Arabic 
> > >> > > > comments?
> > >> > > >
> > >> > > >
_______________________________
> > >> > > > Raed Neshiewat
> > >> > > > Director
> > >> > > > TamamTech Inc.
> > >> > > > PO Box: 940424
> > >> > > > Amman, Jordan 11118
> > >> > > > Tel:    +962 6 566 9700
> > >> > > > Fax:   +962 6 566 9730
> > >> > > > Email: raedtamamtech.com
> > >> > > >
> > >> > > >
> > >> > > > -----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
> > >> > > >
> > >> > > > Hi Fadi,
> > >> > > >
> > 
> === message truncated ===
> 
> 
> 
>  
>
____________________________________________________________
________________________
> Sponsored Link
> 
> Get an Online or Campus degree
> Associate's, Bachelor's, or Master's - in less than one
year.
> http://www.findther
ightschool.com

[1-2]

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