Well, "should" is not "is". Could you please check HTTP headers using
chrome browser console (ctrl+shift+j) or firebug for firefox to make sure
about encoding*.* Server may override charset settings also.


2013/4/16 Oleksandr Shneyder <[email protected]>

> Hello Alexander,
>
> No it is not correct. This is only a test to discover if perl-rpc have
> all dependencies installed. Content handling is defined in JSONRPC.pm:
>
> print $session->header(-charset=>'utf-8',
>                            -content_type => 'text/javascript');
>
> response from server should always have "utf-8" encoding.
>
> regards
> Alex
>
> Am 15.04.2013 15:28, schrieb Alexander Voronin:
> > I found this sample on project page:
> >
> >
> >  $ ./jsonrpc.pl
> >     Content-Type: text/html; charset=ISO-8859-1
> >
> > It looks like you'll need to explicitely specify correct encoding in each
> > HTTP answer or browser will broke data.
> > I'm not familiar with this package but I believe there is documentation
> > essentials on this.
> >
> > 2013/4/15 Oleksandr Shneyder <[email protected]>
> >
> >> Hello all,
> >>
> >> I have Unicode issue with perl-rpc server:
> >>
> >> http://qooxdoo.org/contrib/project/rpcperl
> >>
> >> all unicode strings, that RPC-Server returning to application, have
> >> wrong encoding. I can avoid this problem if I encode string with base64
> >> on server and then decode it in qooxdoo application. But I wonder if
> >> there is a better solution for this issue.
> >>
> >> regards,
> >> Alex
> >>
> >> PS: with python RPC-Server all works just fine. But I really want to use
> >> perl RPC-Server.
> >> --
> >> ----------------------------------------------------
> >> Oleksandr Shneyder  | Email: [email protected]
> >> phoca GmbH          | Tel. : 089 - 90 400 94 020
> >> Bräuhausgasse 9     | Fax. : 089 - 90 400 94 001
> >> D-82205 Gilching    | Mobil: 0163 - 49 64 461
> >>
> >> Geschäftsführung:
> >> Dipl.-Inf. Oleksandr Shneyder
> >>
> >> Amtsgericht München | http://www.phoca-gmbh.de
> >> HRB 196 658         | http://www.x2go.org
> >> USt-IdNr.: DE281977973
> >> ----------------------------------------------------
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Precog is a next-generation analytics platform capable of advanced
> >> analytics on semi-structured data. The platform includes APIs for
> building
> >> apps and a phenomenal toolset for data science. Developers can use
> >> our toolset for easy data analysis & visualization. Get a free account!
> >> http://www2.precog.com/precogplatform/slashdotnewsletter
> >> _______________________________________________
> >> qooxdoo-devel mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >>
> >>
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Precog is a next-generation analytics platform capable of advanced
> > analytics on semi-structured data. The platform includes APIs for
> building
> > apps and a phenomenal toolset for data science. Developers can use
> > our toolset for easy data analysis & visualization. Get a free account!
> > http://www2.precog.com/precogplatform/slashdotnewsletter
> >
> >
> >
> > _______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> --
> ----------------------------------------------------
> Oleksandr Shneyder  | Email: [email protected]
> phoca GmbH          | Tel. : 089 - 90 400 94 020
> Bräuhausgasse 9     | Fax. : 089 - 90 400 94 001
> D-82205 Gilching    | Mobil: 0163 - 49 64 461
>
> Geschäftsführung:
> Dipl.-Inf. Oleksandr Shneyder
>
> Amtsgericht München | http://www.phoca-gmbh.de
> HRB 196 658         | http://www.x2go.org
> USt-IdNr.: DE281977973
> ----------------------------------------------------
>
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


-- 
когда я опустился на самое дно, снизу мне постучали..
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to