Search Results

Search found 1714 results on 69 pages for 'utf8 decode'.

Page 9/69 | < Previous Page | 5 6 7 8 9 10 11 12 13 14 15 16  | Next Page >

  • HTML ENCODE & DECODE

    - by Zerotoinfinite
    Hi All, I am looking for a HTML editor, and I found many links through google like this http://online-html-editor.org/ Now I have written something on it: Let say the below content Heading The'la;skdlajlsdjansdkahskdkhaksdhkhaskdhkhaskhdkashdkhaksda asdljalsjdljalsdjljalsdjljalsdjljalsdlajs;fl'ajduyasdahsldjkagsdhasvdjyhlasjdgklastgians,dkasjdlhakhsdl amsdka;sdlyasdalshdlj,asdh,asdjg,absdlasd/.malskdla'slduljds,vaskkd;jas;dl'asldu'alsdaskd;lk'as;d 'a sd;jasldj;asdaklsdka'sld'sai'dkabskdm;;lsidaasfhdlasjd;ljaspodi;ajsd;lka'sld ' ad' a;fj;ljas;dfjalshdoiauslkfdnkasfnlka's;dkap[sd'alsd;jlaksfdkajsdfh;alsd; asdkasjd;kaskd;as;dk;aksd;ajsdlkjalksjdlasjdkgasfkjashdjashdkasfdkjashkdasdjo[uipuhlkasdjlkajsdljalsjdlkajsdljaljsdljalsjdlkaslkjdlkasdjlasjdlkjaslkdjlasjdlasudqpeohw09iqwpekjqwehlj bool tt = new bool(); if (txtStatus.Text == "true") tt = true; else tt = false; Now I want to save this content into the database and display as a normal text on a page. While extracting I can use Server.HTMLDecode, but I am facing problem while inserting this html data which I have copied from the sites. Please help. Thanks in advance.

    Read the article

  • Java Speech Example: Encode, Stream, Decode, Play

    - by Dewayne
    I have been trying to find an example of this that I could use for a couple years, I'm ashamed to admit. I would like to see a working, compileable example (most that I find online don't compile or don't actually work) of reading from the microphone, encoding the voice data in a speech-friendly encoding such as Speex, and streaming that information in real time to a Decoder which then plays the audio. I suppose this example would simply echo what is said. I would like to ultimately use this to learn to make an audio mixing chat server.

    Read the article

  • How can I handle UTF-8 while posting to a vBulletin board with WWW::Mechanize?

    - by MrMirror
    I have a problem with some automating posting to bulletin board... If I send the posting form to the vBulletin board, I get corrupted entities. Feel free to copy-paste the script and try it... It looks like the board's expecting some decoded utf8, but if I send the message decoded the entities are still wrong. #!/usr/bin/perl use strict; use warnings; use WWW::Mechanize; use Digest::MD5 qw(md5_hex); my $mech = WWW::Mechanize->new(); my $base_url = 'http://www.boerse.bz/'; my $username = 'MrMirror'; my $password = 'test'; $mech->get($base_url); print "Login\n"; $mech->form_number(1); $mech->field('vb_login_username' => $username); $mech->field('vb_login_password' => $password); $mech->field('vb_login_md5password' => md5_hex($password)); $mech->field('vb_login_md5password_utf' => md5_hex($password)); $mech->submit(); unless ($mech->content() =~ m!Weiterleitung!gi) { print "No Rediction!\n"; exit; } print "Redict\n"; $mech->get($base_url); unless ($mech->content() =~ m!Logout!gi) { print "Login Failed!\n"; exit; } $mech->get($base_url .'/newthread.php?do=newthread&f=173'); $mech->form_number(3); $mech->field('subject' => 'MrMirror makes some testing ä ö ü ß'); $mech->field('message' => "ä ö ü ß"); ### everything allright here $mech->dump_forms(); ### preview submit, don't wanna spam around ;) $mech->click('preview'); print "\n\n\n---------------------------------------------------------------------\n\n\n"; ### same form, wrong entities :( $mech->dump_forms();

    Read the article

  • how to decode encoded javascript codes ?

    - by Ronnie Chester Lynwood
    hello. i got some code like this var xKsgbD = unescape('{var xWCknA %3d %27%2576a%2572%2520z%2562%2531%2538%2530%2537%2537d%2565%2565%2530%253Dz%2534%2564%25389%25322%25308%2563%2539%253Dz%2539%2539%25316%2537%25328%2565c%2561%253dz%2563%2562%2539%2535%25336%25634%2565%2536%253d%257A%2532%25656%2533b%25625%25620%2539%253d%257a5%2564d%25331%2531b%2561%2533c%253d%257a%2536e%25619%2539%25345%25630%2534%253D%2528%2530x%25380%2561%252b2%2531%2536%2535%252D0%25781%2530%2537f%2529%252c%257A%2537%2539%25641%2562%2538%2563%25624%2539%253D%2521%2570o%256C%256c%2569%2564%257C%257c%2521r%2561%2574%2565i%2564%253F%2528%2530x%2565%2536%252b%25378%25394%252d0%25781%2566%2562%2563%2529%253a%2528%2530x%2539c%2535%252B%2532%2533%2538%2534%252D%2530x%2531%25331%2534%2529%252Cz%2531%25300%25618%25393%2532d%2537%253d%2553t%2572%2569%256e%2567%252e%2566%2572o%256d%2543%2568%2561%2572%2543o%2564%2565%2528%2528%2530%25781%2534%2535+%25379%2530%252D%2530%25784%2532%2563%2529%2529%252C%257A%2563%2536%2538f%2563%2534%2531%2538%2533%2533%253DS%2574%2572i%256eg%252Ef%2572%256Fm%2543h%2561%2572C%256F%2564%2565%2528%2528%2530%2578%2531%25375%2563%252B%2533%25309%2535%252d0%2578%25323%2530b%2529%252c%2528%2530%2578%25310%2530%2537+%2532%25316%2531%252d0%25781%25380%2534%2529%252c%2528%2530%2578a%2563%2563+%25336%25345%252d0%2578%2531%2538%25395%2529%252c%25280%2578%2531f%2530%2538%252b%25335%2535%252D0%2578%2531f%2566b%2529%252C%25280%2578%2531%2533%25350%252b1%25353%2533%252d0%2578%2531%25391%2533%2529%252c%2528%2530%25781%2561%2539%2538%252B%25380%252D0%25781%2561b%2539%2529%252c%25280%25782%2531%2536+%2538%2530%2537%252D%2530%25785%2530%2565%2529%2529%252cz%2565%25656%25346%2531%25338%2536%2534%253DS%2574r%2569%256Eg%252Ef%2572o%256dC%2568a%2572%2543%256Fd%2565%2528%2528%2530x%25321%2533%2538+%25328%2538%252d%2530x%2532%2532%2532%2561%2529%2529%252c%257A%2536%2562%2561%2534%2531%25371%2530c%2539%253D%2553t%2572i%256E%2567%252E%2566r%256Fm%2543h%2561r%2543o%2564e%2528%2528%2530x%25314%2563%2533%252B%25369%2534%252d%2530%2578%25317%25316%2529%252c%25280%25781%25345%2562+%2531%2536%2539%252D0%25781%25349%2535%2529%252c%25280%2578%25618%2562+%2536%2533%25339%252d0%2578%2532%2532e%2531%2529%2529%252Cz%2533b%25302%2538a%2533%25371%2563%253d%2553%2574r%2569n%2567%252Ef%2572%256F%256d%2543%2568a%2572%2543o%2564%2565%2528%2528%2530%2578%25317%2533%2535%252B%2533%25367%2536%252D%2530x%25325%2531%2561%2529%252C%2528%2530x%2535%2564%2534%252b3%25395%2532%252D0%25781%2534c%2564%2529%252c%2528%2530x%2566%25623%252B%2531%2534%2535%2535%252d%2530%25781%2534%2565b%2529%2529%252C%257a%25346%2533%2538%2538b%2538%2566%25618%253D%2553t%2572%2569n%2567%252ef%2572o%256DC%2568%2561%2572C%256Fd%2565%2528%25280%2578%2534%2564%2537%252B%25312%25367%252d0%2578%2539%2538%2564%2529%2529%252cz%2566%2562a%2531%2565%25651%2562b%2535%253dS%2574r%2569%256eg%252Ef%2572o%256dC%2568%2561r%2543o%2564e%2528%2528%2530%25781%2535%2563%2537+%2533%2533%25334%252D0%25782%25328%2565%2529%2529%252c%257A%2563c%25637%2532%25354%2532d%2534%253D%2553t%2572%2569%256E%2567%252E%2566%2572%256F%256d%2543%2568a%2572%2543%256f%2564e%2528%2528%2530x%2564f%2535+%25362%2539%252D%2530x%2566f%2561%2529%252c%2528%2530x%25322%2565%2538%252B7%25327%252d0%2578%25325%2535%2537%2529%252c%25280%2578%2563%25326%252b6%2533%25378%252D%2530x%2532%2534a%2530%2529%2529%252c%257a%2563a%2532%25331%2538%2533%25307%2561%253d%2553%2574%2572%2569n%2567%252e%2566r%256f%256D%2543h%2561%2572%2543%256F%2564e%2528%25280%25781%2531%25636%252b%25337%25322%252D0%2578%25320%2532a%2529%2529%252C%257a%2537%2533%2561%25655%25386%25332%2564%253DS%2574r%2569n%2567%252ef%2572%256Fm%2543%2568%2561r%2543o%2564e%2528%25280%25782%2532%25652%252B%2534%2532%2538%252d%2530x%2532%25342%2566%2529%2529%252Cz%2564%25661%2562c%2536%2538%2534c%2562%253dS%2574r%2569n%2567%252e%2566r%256fm%2543%2568a%2572C%256fd%2565%2528%2528%2530%2578%2534%2566%2538+%2532%25351%2536%252D%2530x%2565%2535c%2529%252C%2528%2530x%25320%2532c%252B%2531%2531%2532%2530%252d%2530%2578%25324%2531d%2529%252c%2528%2530%25781%25302%2538%252B%2533%25364%2530%252d0%2578%2531%2564f%2534%2529%252c%25280%25782%25381%252b1%2538%2530%2535%252d%2530%2578%25392%2532%2529%252c%2528%2530x%25315%25632%252B%2537%25334%252d%2530%2578%2531%25383%2563%2529%252C%2528%2530x%2534f%2535%252B%25387%2533%2530%252D%2530%2578%25326%2561%2565%2529%252C%25280%2578%25379%2530%252B5%25356%2537%252D%2530x%2531%2563e%2562%2529%252C%25280%25789%2532%252b%25323%25354%252d0%2578%25396%2530%2529%252C%2528%2530%2578%25311%2532%2533%252b4%25322%2531%252D0%2578%25321%2532%2537%2529%2529%252cz%25668%2532b%2564d%2538b%25611%253DS%2574r%2569n%2567%252e%2566r%256F%256d%2543%2568%2561r%2543%256F%2564%2565%2528%2528%2530x%2561%2535c%252b2%2535%25362%252d0%25781%2533%2566a%2529%252C%2528%2530%2578%2531%2539%25639%252B%25312%2532%2531%252D0%25781%2565%25325%2529%252c%25280%2578%25390%2532%252B7%2532%25345%252d%2530x%25324%2564%2563%2529%252C%25280%2578%25635%2531%252b%25353%25397%252D0%2578%2532%2530f%2535%2529%252c%2528%2530%25786%2533c%252B6%25347%2531%252D0%25781%2566%2530e%2529%252C%2528%2530x%2531%25642%2538+%2535%2534%2530%252D%2530x%2531e%2564%2531%2529%2529%253b%2524%2528f%2575n%2563t%2569%256F%256e%2528%2529%257B%2524%2528%2522%255Cx%25323%255c%25787%2533%255cx%2537%2534%255cx%25361%255C%25787%2532%255C%25782%2530%255Cx%2536%2539%255c%25786%2564%255Cx%25367%2522%2529%252Ee%2572r%256F%2572%2528%2566%2575n%2563t%2569%256F%256e%2528%2529%257b%2524%2528%2574h%2569%2573%2529%252eu%256E%2562i%256E%2564%2528%2522%255c%25786%2535%255c%25787%2532%255Cx%2537%2532%255C%2578%2536f%255C%25787%2532%2522%2529%252ea%2574%2574r%2528%2522%255c%25787%2533%255C%25787%2532%255C%2578%25363%2522%252cz%25636%2538f%25634%2531%2538%25333%252B%2522%255cx%25373%255Cx%25332%2522%252B%257ae%25656%2534%25361%2533%2538%2536%2534%252b%2522%255Cx%25367%255cx%2536f%255cx%2536%2566%255c%2578%2536%2537%255cx%2536%2563%255C%2578%25365%255Cx%2537%2535%255cx%25373%255Cx%25365%255cx%2537%2532%255c%2578%2536%2533%255cx%2536%2566%255c%2578%2536%2565%255c%25787%2534%255Cx%25365%255cx%2536e%255C%2578%2537%2534%2522+%257A%2565e%2536%2534%25361%2533%2538%25364%252Bz%2536b%2561%25341%25371%2530%2563%2539%252Bz%2531%2530%2530%2561%25389%2533%2532d%2537%252B%2522%255c%25787%2533%255c%2578%2533%2532%2522%252Bz%2531%25300%2561%2538%25393%2532d%2537+%2522%255c%25786%2536%255Cx%2536%2531%255c%25787%2536%255Cx%25369%255c%2578%2536%2533%255Cx%2536f%255c%25786%2565%255c%25787%2533%2522%2529%253b%257d%2529%253B%2524%2528%2522%255C%2578%2532%2533%255Cx%25361%255c%2578%25364%255C%25786%2534%255Cx%2537%2532%255cx%25365%255cx%25373%255C%25787%2533%2522%2529%252ep%2572%2565p%2565n%2564%2528%2522%255C%2578%2533c%255Cx%25373%255C%25787%2534%255C%25787%2532%255c%25786%2566%255cx%2536e%255cx%25367%255c%2578%2533e%255c%2578%2534%2563%255cx%2536f%255c%25786%2531%255c%2578%2536%2534%255c%25786%2539%255c%25786%2565%255cx%2536%2537%255c%2578%2533%2561%255c%25783%2563%255cx%2532%2566%255C%2578%25373%255C%25787%2534%255c%2578%25372%255c%25786%2566%255C%25786%2565%255C%25786%2537%255Cx%2533e%255c%25782%2530%2522%2529%252e%2573%2568%256f%2577%2528%2529%252e%2561d%2564%2543l%2561%2573%2573%2528%2522%255C%25786%2563%255C%2578%2536f%255cx%25361%255C%25786%2534%255c%2578%25369%255c%25786%2565%255Cx%2536%2537%2522%2529%253b%2524%2528%2522%255cx%2536%2532%255C%25786%2566%255C%25786%2534%255cx%25379%2522%2529%252e%2561%2570p%2565%256e%2564%2528%2522%255Cx%2533%2563%255C%2578%25364%255C%2578%25369%255c%25787%2536%255cx%2532%2530%255C%2578%25369%255Cx%25364%255Cx%2533d%255Cx%25322%255C%25786%2533%255C%25786%2566%255cx%2536d%255c%25786%2564%255Cx%25365%255c%25786%2565%255cx%2537%2534%255cx%2537%2533%255Cx%25322%255c%25783%2565%255c%25783%2563%255Cx%2532%2566%255C%2578%25364%255cx%2536%2539%255Cx%25376%255C%25783%2565%255cx%2533%2563%255Cx%25364%255cx%25369%255Cx%2537%2536%255Cx%2532%2530%255C%2578%25369%255C%25786%2534%255C%25783%2564%255C%2578%2532%2532%255Cx%2537%2533%255Cx%2536%2533%255Cx%2537%2532%255Cx%2536f%255Cx%2536c%255C%2578%2536%2563%255C%2578%2532%2532%255C%25782%2530%255cx%25374%255cx%2536%2539%255Cx%25374%255Cx%2536%2563%255cx%25365%255c%25783%2564%255cx%2532%2532%255c%25785%2533%255cx%25363%255C%25787%2532%255C%25786%2566%255c%2578%2536c%255C%25786%2563%255cx%25320%255c%25784%2534%255C%2578%2536%2566%255Cx%25377%255C%2578%2536%2565%255Cx%25322%255Cx%2533%2565%255Cx%2532%2536%255C%25782%2533%255cx%2533%2539%255c%2578%2533%2536%255cx%2533%2536%255cx%2533%2530%255Cx%2533%2562%255cx%2533%2563%255c%25782%2566%255c%25786%2534%255C%25786%2539%255cx%2537%2536%255c%2578%2533%2565%2522%2529%253b%2524%2528%2522%255C%2578%2532%2533%255cx%2537%2534%255c%25786%2566%255c%25787%2530%2522%2529%252ea%2570p%2565%256E%2564%2528%2522%255c%2578%2533c%255C%2578%2536%2534%255cx%2536%2539%255Cx%25376%255c%25782%2530%255Cx%25369%255cx%25364%255c%25783%2564%255Cx%2532%2532%255Cx%25373%255Cx%2536%2538%255Cx%25361%255Cx%25372%255cx%2536%2535%255Cx%25331%255cx%2532%2532%255cx%2533e%255cx%25342%255c%2578%2536f%255c%2578%2536f%255Cx%2536%2562%255C%25786%2564%255c%2578%2536%2531%255C%2578%2537%2532%255cx%2536%2562%255c%2578%25320%255C%2578%2532%2536%255c%25782%2530%255C%25785%2533%255c%2578%2536%2538%255c%25786%2531%255C%25787%2532%255Cx%25365%255c%2578%2533%2563%255Cx%2532%2566%255Cx%25364%255c%2578%25369%255Cx%2537%2536%255C%2578%2533e%255C%2578%2533c%255c%2578%2536%2534%255C%25786%2539%255C%25787%2536%255C%2578%25320%255cx%25369%255c%2578%2536%2534%255Cx%2533d%255C%2578%2532%2532%255C%25787%2533%255C%25786%2538%255c%2578%2536%2531%255cx%25372%255Cx%25365%255c%25783%2532%255Cx%2532%2532%255cx%2533%2565%255Cx%2533c%255cx%2532f%255c%2578%2536%2534%255Cx%2536%2539%255Cx%2537%2536%255C%25783%2565%2522%2529%253Bi%2566%2528%257a7%2539d%2531b%2538c%2562%25349%2529%257b%2524%2528%2522%255c%25782%2533%255Cx%25364%255C%25786%2563%255C%25786%2531%255c%2578%25364%2522%2529%252ea%2566t%2565%2572%2528%2522%255Cx%2533c%255cx%2536%2534%255cx%2536%2539%255cx%25376%255Cx%2532%2530%255C%2578%25369%255c%2578%25364%255C%25783%2564%255c%2578%25322%255Cx%25372%255c%2578%2536%2531%255C%2578%25374%255C%25786%2535%255C%25782%2532%255C%25783%2565%255c%25782%2536%255Cx%2532%2533%255C%2578%25339%255c%2578%25336%255C%2578%2533%2536%255c%2578%25330%255c%25783%2562%255Cx%2532%2530%255Cx%2535%2532%255Cx%25361%255c%2578%25374%255C%25786%2535%255c%25782%2530%255cx%25374%255cx%2536%2538%255C%25786%2539%255C%2578%2537%2533%255Cx%2532%2530%255C%25784%2534%255c%25786%2566%255C%2578%2537%2537%255c%2578%2536e%255C%25786%2563%255C%2578%2536f%255Cx%25361%255c%25786%2534%255c%2578%2533%2563%255c%25782%2566%255Cx%2536%2534%255cx%2536%2539%255c%25787%2536%255Cx%2533e%255C%2578%2533c%255C%2578%2536%2534%255C%25786%2539%255cx%2537%2536%255cx%2532%2530%255cx%25369%255Cx%25364%255cx%2533d%255c%25782%2532%255c%25787%2534%255c%25786%2538%255C%25787%2535%255cx%2536d%255cx%25362%255c%2578%25373%255c%25782%2532%255c%2578%25320%255cx%2536%2533%255C%25786%2563%255cx%2536%2531%255C%2578%25373%255Cx%25373%255cx%2533d%255Cx%2532%2532%255C%2578%25365%255c%2578%2536%2565%255c%25786%2531%255cx%2536%2532%255c%2578%2536c%255C%25786%2535%255cx%25364%255c%2578%25322%255Cx%2533e%255Cx%2533%2563%255c%25782%2566%255cx%25364%255cx%2536%2539%255cx%25376%255cx%2533e%255cx%2533%2563%255cx%25364%255C%25786%2539%255Cx%25376%255cx%25320%255C%2578%2536%2539%255Cx%25364%255Cx%2533%2564%255C%2578%25322%255cx%2537%2534%255c%2578%25368%255c%25787%2535%255c%25786%2564%255Cx%25362%255c%25787%2533%255Cx%2533%2532%255Cx%25322%255c%2578%2533e%255C%25783%2563%255c%25787%2533%255C%25787%2530%255Cx%2536%2531%255cx%2536%2565%255cx%2533e%255C%2578%2532%2564%255c%25783%2563%255c%25782%2566%255C%2578%2537%2533%255cx%2537%2530%255Cx%2536%2531%255C%2578%2536%2565%255cx%2533e%255C%25783%2563%255cx%25373%255Cx%25370%255Cx%25361%255cx%2536e%255cx%2533e%255Cx%2532d%255c%2578%2533%2563%255c%25782%2566%255Cx%2537%2533%255C%2578%25370%255c%25786%2531%255c%2578%2536e%255C%2578%2533%2565%255C%2578%2533%2563%255c%25782%2566%255cx%2536%2534%255c%25786%2539%255Cx%2537%2536%255cx%2533%2565%2522%2529%253b%2524%2528%2522%255Cx%25323%255C%25787%2534%255cx%2536%2538%255cx%25375%255cx%2536d%255C%2578%25362%255cx%2537%2533%2522%2529%252e%2568%2574m%256c%2528%2522%255cx%2533%2563%255Cx%2537%2533%255Cx%2537%2530%255Cx%2536%2531%255cx%2536e%255C%2578%25320%255C%2578%25369%255C%25786%2534%255C%25783%2564%255Cx%25322%255c%25787%2534%255c%25786%2564%255c%25787%2533%255C%25786%2537%255cx%25322%255cx%2533e%255cx%2533c%255Cx%25373%255cx%2537%2530%255Cx%25361%255C%2578%2536%2565%255cx%2533e%255Cx%2533c%255C%25782%2566%255C%2578%25373%255cx%25370%255cx%25361%255cx%2536e%255c%2578%2533e%255c%25783%2563%255cx%2532%2566%255C%2578%25373%255cx%2537%2530%255C%25786%2531%255c%2578%2536e%255cx%2533%2565%255c%25783%2563%255c%2578%2536%2534%255Cx%2536%2539%255C%2578%25376%255Cx%2532%2530%255Cx%25369%255cx%25364%255c%25783%2564%255cx%2532%2532%255cx%2537%2534%255Cx%2536%2534%255cx%2536f%255C%2578%2532%2532%255Cx%2533e%255c%25783%2563%255C%25782%2566%255cx%2536%2534%255cx%25369%255Cx%2537%2536%255c%25783%2565%255cx%2533c%255C%25786%2534%255Cx%25369%255cx%2537%2536%255c%2578%25320%255Cx%25369%255cx%2536%2534%255cx%2533d%255C%25782%2532%255c%2578%25374%255c%2578%2537%2535%255Cx%2537%2530%255C%25782%2532%255C%25783%2565%255c%25783%2563%255c%25782%2566%255Cx%25364%255C%25786%2539%255c%2578%25376%255c%2578%2533%2565%2522%2529%252e%2566%2569n%2564%2528%2522%255c%25782%2533%255C%2578%25374%255c%25786%2564%255C%25787%2533%255Cx%25367%2522%2529%252eh%2569d%2565%2528%2529%253B%257d%2524%2528%2522%255Cx%2532%2533%255c%25787%2534%255cx%2536f%255Cx%2537%2530%2522%2529%252e%2568o%2576e%2572%2528f%2575%256Ec%2574i%256fn%2528%2529%257b%2524%2528%2522%255c%25782%2533%255C%25787%2533%255c%25787%2534%255C%25786%2531%255cx%25372%255C%25782%2530%255Cx%2536%2539%255C%25786%2564%255C%25786%2537%2522%2529%252Es%2574%256fp%2528%2529%252Ea%256e%2569m%2561%2574%2565%2528%257B%256Fp%2561%2563%2569t%2579%253a%25280%2578%25376%2530%252B6%25395%2534%252d%2530%25782%2532%2538a%2529%257D%2529%253b%2524%2528%2522%255C%25782%2533%255Cx%2537%2533%255cx%2536%2538%255c%25786%2531%255C%2578%25372%255c%2578%2536%2535%255c%2578%25331%2522%2529%252Es%2574o%2570%2528%2529%252ea%256Ei%256Da%2574%2565%2528%257bo%2570%2561c%2569t%2579%253a%25280%2578e%25615%252B5%25371%2538%252d0%2578%2532%2534f%2562%2529%257D%252C%2528%2530x%2533a%2530+%2538%2530%2533%252d0%2578%2535%2533%2533%2529%252Cf%2575%256ec%2574i%256fn%2528%2529%257b%2524%2528%2574%2568%2569s%2529%252eh%2569d%2565%2528%2529%253b%257D%2529%253b%257d%252c%2566%2575n%2563t%2569%256F%256e%2528%2529%257B%2524%2528%2522%255Cx%2532%2533%255C%25787%2533%255cx%2537%2534%255Cx%25361%255Cx%2537%2532%255cx%25320%255Cx%2536%2539%255cx%2536%2564%255cx%2536%2537%2522%2529%252es%2574o%2570%2528%2529%252ea%256E%2569%256Da%2574%2565%2528%257Bo%2570%2561%2563i%2574y%253A%2528%2530x%2531%2537c%2566+%25318%2534%2530%252d%2530x%2531%2565%2566e%2529%257D%2529%253B%2524%2528%2522%255c%25782%2533%255cx%2537%2533%255c%2578%25368%255Cx%25361%255Cx%25372%255cx%25365%255Cx%25331%2522%2529%252es%2568%256F%2577%2528%2529%252e%2573%2574o%2570%2528%2529%252E%2561n%2569%256Da%2574e%2528%257bo%2570%2561%2563i%2574y%253A%2528%2530%25781%2537%2561%2564%252B3%2535%25346%252d%2530x%25325%2538%2536%2529%257d%2529%253b%257d%2529%253b%2524%2528%2522%255C%25782%2533%255c%25787%2533%255Cx%25374%255c%2578%25361%255cx%2537%2532%2522%2529%252E%2563%256c%2569%2563%256B%2528f%2575n%2563%2574i%256Fn%2528%2529%257Ba%256Ce%2572%2574%2528%2522%255cx%2535%2530%255c%2578%2537%2532%255Cx%2536%2535%255Cx%25373%255cx%2537%2533%255c%2578%2532%2530%255Cx%25322%2522+%2528n%2561%2576i%2567a%2574o%2572%252ea%2570%2570%2556e%2572s%2569%256F%256e%252ei%256Ed%2565x%254ff%2528%2522%255C%2578%2534d%255C%2578%25361%255Cx%25363%2522%2529%2521%253D%252D%2528%2530x%2565%2531%2564%252b%25338%25304%252d0%2578%2531c%2566%2538%2529%253f%2522%255c%2578%2534%2533%255C%2578%2536d%255Cx%2536%2534%2522%253a%2522%255C%25784%2533%255cx%2537%2534%255Cx%25372%255C%2578%2536c%2522%2529+%2522%255C%2578%2532%2532%255cx%25320%255c%2578%25361%255C%25786%2565%255c%25786%2534%255C%25782%2530%255c%2578%2532%2532%255Cx%25344%255Cx%2532%2532%255c%2578%25320%255cx%2536%2566%255c%2578%2536e%255C%25782%2530%255c%2578%2537%2539%255c%25786%2566%255c%2578%25375%255C%2578%2537%2532%255c%25782%2530%255c%25786%2562%255Cx%25365%255c%25787%2539%255Cx%25362%255C%2578%2536f%255cx%2536%2531%255C%25787%2532%255c%25786%2534%255cx%2532%2530%255Cx%25374%255Cx%2536%2566%255Cx%25320%255C%2578%25362%255C%2578%2536f%255C%25786%2566%255C%2578%2536b%255cx%2536%2564%255Cx%2536%2531%255C%25787%2532%255Cx%2536%2562%255cx%25320%255Cx%2537%2534%255C%2578%25368%255cx%25369%255cx%2537%2533%255c%25782%2530%255C%25787%2537%255c%2578%2536%2535%255cx%25362%255c%25782%2530%255c%2578%25370%255C%2578%25361%255Cx%25367%255cx%2536%2535%255c%2578%2532e%2522%2529%253Bz%25333%25309%25668%2566%2532a%2561%2528%2529%253b%257D%2529%253b%2524%2528%2522%255C%2578%2532%2533%255c%25787%2533%255C%2578%2537%2534%255Cx%25361%255Cx%2537%2532%255C%2578%2532%2563%255C%2578%2532%2533%255cx%2536%2531%255cx%25364%255Cx%2536%2534%255c%2578%25361%255c%2578%25372%255Cx%2537%2532%2522%2529%252E%2568%256f%2576%2565r%2528f%2575%256ec%2574i%256f%256E%2528%2529%257bi%2566%2528%2524%2528%2522%255C%25782%2533%255C%25786%2531%255cx%25364%255C%25786%2534%255C%25787%2532%255Cx%25365%255cx%25373%255c%2578%25373%2522%2529%252e%2561t%2574%2572%2528%2522%255c%2578%25363%255cx%2536c%255Cx%2536%2531%255c%2578%25373%255c%25787%2533%2522%2529%253d%253D%2522%255c%2578%2536c%255c%25786%2566%255cx%25361%255c%25786%2534%255c%25786%2539%255C%25786%2565%255c%25786%2537%2522%2529%257br%2565t%2575%2572n%253B%257Dc%256C%2565%2561%2572T%2569%256de%256f%2575t%2528z%2532f%2561%25642%2564%2534%2563%2565c%2529%253b%2524%2528%2522%255cx%25323%255Cx%2536%2531%255c%25786%2534%255C%2578%25364%255Cx%25372%255Cx%25365%255Cx%2537%2533%255c%2578%25373%255C%2578%2532%2530%255c%2578%2537%2533%255c%25787%2534%255c%25787%2532%255cx%2536%2566%255cx%2536e%255Cx%25367%2522%2529%252E%2568%2574%256Dl%2528%2522%255cx%2535%2539%255cx%2536%2566%255c%2578%2537%2535%255C%2578%25327%255c%2578%2537%2532%255cx%2536%2535%255C%25782%2530%255Cx%2537%2536%255Cx%25369%255Cx%25373%255C%25786%2539%255c%2578%25374%255c%25786%2539%255cx%2536e%255cx%25367%255C%2578%2533%2561%2522%2529%253b%2524%2528%2522%255c%2578%25323%255Cx%2536%2531%255c%2578%2536%2534%255Cx%2536%2534%255cx%2537%2532%255C%2578%25365%255C%25787%2533%255cx%2537%2533%2522%2529%252es%2568o%2577%2528%2529%252ea%256ei%256da%2574%2565%2528%257Bt%256F%2570%253A%2528%2530x%25310%2561%2534+%2532%25354%2539%252d0%2578%2531a%25399%2529%257D%252C%25280%25786%25335%252B1%2539%2539%252D0%25786%25334%2529%2529%253b%257D%252cf%2575n%2563t%2569%256Fn%2528%2529%257B%257A2%25362%2534%2531d%2561%2537c%2537%2528%2529%253B%257d%2529%253B%2524%2528%2522%255cx%25323%255Cx%2536%2531%255cx%25364%255Cx%2536%2534%255c%2578%2537%2532%255cx%2536%2535%255c%2578%2537%2533%255c%2578%2537%2533%2522%2529%252e%2568o%2576e%2572%2528f%2575%256ec%2574i%256f%256e%2528%2529%257bc%256C%2565%2561%2572T%2569m%2565o%2575t%2528%257a2%2566%2561d%2532d%2534%2563%2565c%2529%253B%257d%252c%2566u%256ec%2574i%256f%256e%2528%2529%257B%257A%25326%2532%2534%2531%2564a%2537c%2537%2528%2529%253B%257D%2529%253B%2524%2528%2522%255Cx%25323%255c%25787%2534%255C%25786%2538%255c%2578%25375%255cx%2536%2564%255C%2578%25362%255cx%25373%2522%2529%252E%2568o%2576%2565%2572%2528%2566%2575%256ec%2574%2569o%256e%2528%2529%257B%2524%2528%2522%255C%2578%25323%255Cx%2537%2534%255c%2578%2536%2538%255Cx%2537%2535%255c%25786%2564%255cx%25362%255c%25787%2533%255C%25782%2530%255C%25782%2533%255c%25787%2534%255Cx%2536d%255C%25787%2533%255c%2578%2536%2537%2522%2529%252e%2573t%256f%2570%2528%2529%252Es%2568o%2577%2528%2529%252e%2561n%2569%256d%2561t%2565%2528%257B%256d%2561%2572g%2569%256e%2554o%2570%253A%252d%2528%2530%2578%25371%2532%252B%25356%2530%252d0%2578%2539%25309%2529%257d%252c%2528%2530x%2532%2536%2566+%2531%25315%2534%252d0%25786%2538%2564%2529%252cf%2575n%2563t%2569%256F%256E%2528%2529%257B%2524%2528t%2568%2569s%2529%252e%2573%2568%256f%2577%2528%2529%253b%257D%2529%253b%257D%252c%2566%2575%256E%2563%2574%2569%256fn%2528%2529%257B%2524%2528%2522%255cx%25323%255c%25787%2534%255c%2578%2536%2538%255Cx%25375%255cx%2536d%255cx%2536%2532%255Cx%25373%255C%25782%2530%255cx%25323%255C%25787%2534%255c%2578%2536d%255C%2578%25373%255C%2578%2536%2537%2522%2529%252Es%2574o%2570%2528%2529%252E%2561n%2569%256d%2561t%2565%2528%257bm%2561%2572g%2569n%2554%256fp%253A%2528%2530%25781%2534%25626%252b5%2539%252D%2530x%2531%2534f%2531%2529%257d%252c%2528%2530%2578%25360%2562+%2531%25356%2534%252D%2530x%25625%2566%2529%252cf%2575%256E%2563t%2569o%256E%2528%2529%257b%2524%2528%2574h%2569s%2529%252E%2568i%2564%2565%2528%2529%253b%257D%2529%253B%257D%2529%253B%2524%2528%2522%255Cx%2532%2533%255cx%25374%255cx%2536%2538%255C%25787%2535%255cx%2536%2564%255C%25786%2532%255c%25787%2533%255Cx%2532%2530%255cx%2532%2533%255Cx%25374%255c%25786%2534%255c%2578%2536f%2522%2529%252Eh%256fv%2565r%2528f%2575n%2563%2574i%256Fn%2528%2529%257B%2524%2528%2522%255Cx%25323%255Cx%2537%2534%255c%25786%2538%255C%2578%2537%2535%255C%25786%2564%255C%25786%2532%255C%25787%2533%255c%2578%25320%255Cx%25323%255cx%2537%2534%255C%25786%2564%255Cx%25373%255c%25786%2537%2522%2529%252e%2572%2565m%256f%2576%2565C%256C%2561s%2573%2528%2522%255c%2578%2537%2534%255cx%25375%255cx%2537%2530%2522%2529%252e%2561d%2564C%256C%2561s%2573%2528%2522%255c%25787%2534%255cx%2536%2534%255cx%2536f%2522%2529%253b%2524%2528%2522%255Cx%25323%255cx%25374%255c%25786%2538%255Cx%2537%2535%255Cx%2536d%255cx%2536%2532%255Cx%25373%255c%25782%2530%255c%25782%2533%255C%25787%2534%255cx%2536%2564%255Cx%25373%255Cx%25367%255c%25782%2530%255c%25787%2533%255c%2578%25370%255Cx%2536%2531%255C%25786%2565%2522%2529%252Eh%2574%256Dl%2528%2522%255cx%2535%2534%255C%2578%2536%2538%255cx%2536%2539%255cx%25373%255c%25782%2530%255Cx%25364%255Cx%2536f%255C%2578%2537%2537%255Cx%2536e%255C%2578%2536c%255C%2578%2536%2566%255cx%25361%255Cx%2536%2534%255C%25782%2530%255cx%2536%2534%255C%2578%2536f%255c%25786%2535%255C%2578%25373%255c%2578%2533c%255c%2578%2536%2532%255cx%2537%2532%255Cx%25320%255c%25782%2566%255C%2578%2533%2565%255cx%2533%2563%255c%25787%2533%255c%2578%25370%255c%25786%2531%255c%2578%2536e%255cx%25320%255c%2578%25363%255C%2578%2536%2563%255c%25786%2531%255Cx%25373%255cx%2537%2533%255cx%2533d%255Cx%2532%2532%255C%2578%25362%255cx%2536%2566%255c%2578%2536%2563%255C%2578%25364%255Cx%2532%2532%255cx%2533e%255c%25783%2563%255C%25787%2533%255Cx%25370%255C%25786%2531%255Cx%2536%2565%255Cx%2532%2530%255Cx%2536%2533%255cx%2536c%255Cx%25361%255Cx%25373%255Cx%2537%2533%255C%2578%2533d%255C%2578%25322%255cx%25375%255c%25786%2563%255C%25786%2539%255cx%2536e%255c%25786%2535%255cx%2532%2532%255Cx%2533%2565%255c%2578%2536%2565%255cx%2536%2566%255Cx%25374%255cx%2533%2563%255Cx%2532f%255cx%2537%2533%255cx%2537%2530%255cx%25361%255Cx%2536e%255C%25783%2565%255c%25782%2530%255cx%25377%255cx%2536f%255c%25787%2532%255C%2578%2536%2562%255Cx%2533%2563%255cx%2532%2566%255Cx%2537%2533%255Cx%25370%255c%25786%2531%255Cx%2536%2565%255c%2578%2533e%255cx%25320%255C%25786%2566%255c%25787%2532%255cx%2532%2530%255c%2578%25369%255c%2578%25373%255Cx%2536e%255C%25782%2537%255C%2578%25374%255C%25783%2563%255cx%25362%255C%25787%2532%255C%25782%2530%255c%2578%2532f%255cx%2533e%255Cx%25377%255Cx%2536%2538%255Cx%25361%255C%25787%2534%255cx%2532%2530%255c%25784%2539%255c%25782%2530%255c%2578%2536%2535%255C%25787%2538%255c%25787%2530%255Cx%2536%2535%255C%25786%2533%255cx%25374%255c%25786%2535%255cx%2536%2534%255Cx%2532e%2522%2529%253b%257d%2529%253b%2524%2528%2522%255c%2578%25323%255Cx%2537%2534%255C%25786%2538%255C%25787%2535%255Cx%2536%2564%255Cx%2536%2532%255c%25787%2533%255cx%25320%255c%25782%2533%255cx%2537%2534%255c%25787%2535%255Cx%2537%2530%2522%2529%252Eh%256F%2576e%2572%2528f%2575%256e%2563%2574%2569%256F%256E%2528%2529%257B%2524%2528%2522%255c%2578%2532%2533%255C%2578%2537%2534%255c%25786%2538%255c%2578%25375%255c%25786%2564%255cx%25362%255c%2578%2537%2533%255C%2578%25320%255Cx%25323%255c%2578%2537%2534%255Cx%2536d%255Cx%25373%255c%25786%2537%2522%2529%252E%2572e%256D%256fv%2565%2543l%2561s%2573%2528%2522%255cx%2537%2534%255c%25786%2534%255Cx%2536%2566%2522%2529%252E%2561%2564%2564C%256c%2561%2573%2573%2528%2522%255cx%2537%2534%255C%2578%2537%2535%255Cx%25370%2522%2529%253B%2524%2528%2522%255Cx%25323%255Cx%2537%2534%255Cx%25368%255cx%25375%255cx%2536d%255c%2578%25362%255Cx%2537%2533%255cx%2532%2530%255Cx%25323%255Cx%2537%2534%255Cx%2536%2564%255Cx%25373%255cx%2536%2537%255Cx%2532%2530%255c%25787%2533%255cx%2537%2530%255c%25786%2531%255cx%2536e%2522%2529%252Eh%2574m%256C%2528%2522%255C%2578%25349%255Cx%2532%2530%255Cx%2536%2538%255Cx%2536%2531%255c%2578%2537%2536%255cx%25365%255cx%2532%2530%255Cx%25364%255cx%2536f%255Cx%25377%255c%25786%2565%255cx%2536%2563%255cx%2536f%255cx%25361%255cx%2536%2534%255C%2578%25365%255Cx%25364%255c%2578%2533%2563%255C%2578%25362%255c%25787%2532%255C%2578%25320%255Cx%2532%2566%255c%2578%2533e%255cx%2537%2534%255C%2578%2536%2538%255Cx%2536%2539%255c%25787%2533%255C%25782%2530%255Cx%2536%2531%255c%2578%2536e%255cx%25364%255C%25782%2530%255c%25786%2539%255c%2578%2537%2534%255cx%25320%255C%2578%2533%2563%255Cx%25373%255cx%2537%2534%255Cx%2537%2532%255C%2578%2536%2566%255cx%2536e%255c%2578%25367%255cx%2533%2565%255cx%25377%255cx%2536f%255C%2578%2537%2532%255cx%2536%2562%255C%25787%2533%255Cx%25320%255c%25782%2536%255Cx%2536%2565%255Cx%2536%2532%255C%2578%25373%255Cx%25370%255Cx%2533b%255cx%2532%2530%255C%25782%2536%255cx%2536e%255Cx%25362%255c%25787%2533%255cx%2537%2530%255c%2578%2533%2562%255Cx%2532%2530%255Cx%25326%255C%2578%2536e%255cx%25362%255Cx%25373%255cx%2537%2530%255cx%2533b%255Cx%2533%2563%255Cx%2536%2532%255Cx%2537%2532%255cx%25320%255Cx%2532f%255C%2578%2533%2565%255cx%2536%2537%255c%2578%25372%255C%2578%25365%255C%2578%2536%2531%255C%25787%2534%255C%25783%2563%255cx%2532f%255cx%2537%2533%255Cx%2537%2534%255cx%25372%255C%2578%2536%2566%255C%2578%2536%2565%255cx%2536%2537%255cx%2533%2565%255C%25782%2531%255C%25782%2536%255cx%2536e%255cx%2536%2532%255cx%25373%255Cx%25370%255Cx%2533b%255c%25782%2530%255c%25782%2536%255C%25786%2565%255Cx%2536%2532%255C%25787%2533%255Cx%25370%255Cx%2533%2562%255cx%2532%2530%255c%2578%2532%2536%255Cx%2536e%255c%25786%2532%255cx%25373%255C%25787%2530%255cx%2533%2562%2522%2529%253b%257d%2529%253B%2524%2528%2522%255c%25782%2533%255Cx%2537%2534%255C%2578%2536%2538%255Cx%25375%255Cx%2536%2564%255cx%2536%2532%255C%25787%2533%255Cx%2532%2530%255C%2578%2532%2533%255Cx%25374%255Cx%25364%255cx%2536f%2522%2529%252e%2563%256ci%2563%256B%2528%2566%2575%256E%2563%2574i%256Fn%2528%2529%257Bw%2569n%2564o%2577%255b%2522%255Cx%25350%255Cx%2534%2534%255cx%25352%255Cx%25354%255c%2578%2534a%255Cx%25353%255Cx%2535f%2522%252b%2572a%2574e%2569%2564%255D%252ez%25614%2564d%2530%2565%2564c%25660%2528%25280%25788%25620%252b%25357%2535%2534%252d%2530%2578%2531%2566%2532%2538%2529%2529%253B%2524%2528%2524%2528%2522%255c%2578%25323%255C%25787%2530%255C%2578%2536%2566%255c%25786%2563%255Cx%2536c%255c%25783%2531%2522%2529%252el%2565n%2567%2574h%2526%2526%2524%2528%2522%255c%2578%2532%2533%255Cx%25370%255Cx%2536%2566%255cx%2536c%255cx%2536c%255C%2578%2533%2531%2522%2529%252ei%2573%2528%2522%255c%25783%2561%255c%25787%2536%255cx%25369%255C%2578%25373%255C%2578%25369%255cx%2536%2532%255C%25786%2563%255cx%2536%2535%2522%2529%253f%2522%255cx%2532%2533%255c%25787%2530%255C%25786%2566%255C%2578%2536%2563%255C%25786%2563%255C%25783%2531%2522%253a%2522%255c%2578%25323%255cx%25370%255Cx%2536%2535%255C%25787%2532%255c%2578%2536%2533%255cx%2536%2535%255cx%2536e%255Cx%2537%2534%2522%2529%252e%2566%2561%2564e%254F%2575%2574%2528%2522%2522%252Cf%2575%256E%2563%2574i%256f%256E%2528%2529%257b%2524%2528%2522%255c%25782%2533%255Cx%25370%255Cx%2536%2535%255cx%2537%2532%255cx%2536%2533%255C%25786%2535%255Cx%2536e%255Cx%2537%2534%2522%2529%252ea%2566%2574e%2572%2528%2522%255c%2578%2533%2563%255C%25786%2534%255C%2578%25369%255C%2578%25376%255cx%25320%255C%2578%25369%255C%2578%25364%255c%2578%2533%2564%255cx%25322%255Cx%25370%255C%2578%2536f%255C%25786%2563%255cx%2536%2563%255c%2578%2533%2532%255c%2578%2532%2532%255c%25783%2565%255Cx%2533%2563%255c%25786%2534%255c%2578%2536%2539%255cx%2537%2536%255cx%25320%255C%25786%2539%255C%25786%2534%255c%2578%2533d%255cx%2532%2532%255Cx%25350%255c%2578%25344%255C%2578%2534%2539%255C%2578%2535%2566%255C%25786%2533%255Cx%2536%2566%255c%25786%2565%255c%2578%2537%2534%255cx%2536%2531%255Cx%2536%2539%255cx%2536%2565%255Cx%25365%255C%2578%25372%2522+%2570o%256c%256c%2569d%252B%2522%255c%2578%2532%2532%255C%25783%2565%255C%25784%2563%255cx%2536f%255C%25786%2531%255c%2578%25364%255Cx%2536%2539%255C%25786%2565%255C%25786%2537%255c%2578%2532e%255c%2578%2532e%255c%2578%2532%2565%255cx%2533%2563%255Cx%2532f%255cx%2536%2534%255Cx%25369%255c%25787%2536%255C%2578%2533%2565%255Cx%2533c%255C%25782%2566%255Cx%2536%2534%255c%25786%2539%255c%25787%2536%255c%2578%2533e%2522%2529%253b%2524%2528%2522%255c%25782%2533%255Cx%25370%255Cx%2536f%255cx%2536%2563%255Cx%2536c%255cx%2533%2532%2522%2529%252eh%2569d%2565%2528%2529%253b%2524%252e%2567%2565t%2553%2563r%2569%2570t%2528%257A%2563%2536%2538%2566c%25341%25383%2533+%2522%255C%25787%2533%255C%25787%2534%255C%25786%2531%255C%2578%2537%2534%255cx%25369%255C%2578%2536%2533%2522+%257a%2565e%25364%25361%2533%2538%2536%2534+%257Ad%25661%2562%2563%2536%25384%2563b%252bz%2565e%2536%25346%25313%25386%2534%252b%257A6%2562a%2534%25317%25310%2563%2539%252bz%2531%25300%2561%25389%25332%2564%2537%252b%2522%255Cx%25370%2522+%257a%2531%2530%2530%2561%2538%25393%2532d%2537%252B%2570%256f%256c%256Ci%2564%252b%257A%2565%2565%2536%25346%25313%2538%25364%252b%2522%255Cx%2536a%255c%2578%2537%2533%2522%252Cf%2575n%2563%2574%2569o%256E%2528%2529%257B%2524%2528%2522%255cx%2532e%255C%2578%2537%2530%255Cx%25364%255cx%25373%255Cx%2532%2564%255C%25786%2531%255C%25786%2565%255Cx%2537%2533%255cx%2537%2537%255Cx%25365%255c%25787%2532%255Cx%25

    Read the article

  • How to decode an encoded string?

    - by Madan Mohan
    While decoding,I am getting NSData bytes by decoding a string.I am converting NSData bytes as string then I am getting the following out put. -(void)decodeAction:(NSString*)str { NSData *data=[NSData base64DataFromString:str]; NSString *stt=[NSString stringWithFormat:@"%@",data]; printf("\n stt %s",[stt UTF8String]); } <4f7c204d 6c204d61 604d6164 61616461 6164616e 24616e20 4d6e204d 6e204d6f 604d6f68 616f6861 6f68616e 28616e

    Read the article

  • Decode amf3 object using PHP

    - by Xuki
    My flash code: var request=new URLRequest('http://localhost/test.php'); request.method = URLRequestMethod.POST; var data = new URLVariables(); var bytes:ByteArray = new ByteArray(); bytes.objectEncoding = ObjectEncoding.AMF3; //write an object into the bytearray bytes.writeObject( { myString:"Hello World"} ); data.data = bytes; request.data = data; var urlLoader:URLLoader = new URLLoader(); urlLoader.dataFormat = URLLoaderDataFormat.BINARY; urlLoader.addEventListener(Event.COMPLETE, onCompleteHandler); urlLoader.load(request); function onCompleteHandler(evt:Event):void { trace(evt.target.data); } PHP code: define("AMF_AMF3",1); $data = $_POST['data']; echo amf_decode($data, AMF_AMF3); Basically I need to send an AMF3 object from Flash to PHP and unserialize it. I'm using AMFEXT extension but couldn't get it to work. Any idea?

    Read the article

  • How to decode JSON (varying number of elements, varying keys) using Jquery

    - by Obay
    My JSON looks like this: { "[email protected]":"Person1", "[email protected]":"Person65", "[email protected]":"Person24" } It's returned in various number of elements, and various keys. How do I traverse the data if my code is like this: $.post("includes/ajax.php", { group_id : $('#group').val() }, function(data) { //how do i traverse data here? }, "json"); Any help will be appreciated :) Thanks!

    Read the article

  • How can I force asp.net webapi to always decode POST data as JSON

    - by Nathan Reed
    I getting some json data posted to my asp.net webapi, but the post parameter is always coming up null - the data is not being serialized correctly. The method looks something like this: public HttpResponseMessage Post(string id, RegistrationData registerData) It seems the problem is that the client (which I have no control over) is always sending the content-type as x-www-form-urlencoded, even though the content is actually json. This causes mvc to try to deserialize as form data, which fails. Is there anyway to get webapi to always deserialize as json, and to ignore the content-type header?

    Read the article

  • How to decode a html string using xslt

    - by John ClearZ
    I am trying to style an rss feed using xslt. I want to display an image that is stored in the tag on the feed. The problem is it is encoded to display as text on the page instead of being rendered. The following is an example of part of the string. 1). <description>&lt;img src="http&amp;#58;&amp;#47;&amp;#47;buavhw.blu.livefilestore.com&amp;#47;y1ppCokLxFJSG2cmyPdvg... I had to add extra coding to the string above to get it to appear properly here. The string below is how it appears when I paste it directly into the text box. 2). <description><img src="http&#58;&#47;&#47;buavhw.blu.livefilestore.com&#47;y1ppCokLxFJSG2cmyPdvg... If I copy and paste it again from the preview window it only then becomes the following string. 3). <description><img src="http://buavhw.blu.livefilestore.com/y1ppCokLxFJSG2cmyPdvg...

    Read the article

  • How can I decode the boost library naming?

    - by Sorin Sbarnea
    I tried to find out that gd means in boost library name and I only found two other people looking for the same thing. I suppose it should be a place where this is clearly documented and I would like to find it. So far I found: mt - multitheaded, get it with threading=multi gd - ??? s - ??? sgd - ???

    Read the article

  • Base64 Android encode to PHP decode make error

    - by studio lambda
    I'm a french guy, so, I'm sorry for my english... I'm developing an Android App which communicate with a PHP REST service. So, when I try to encode an image file into Base64 like this : InputStream fileInputStream = context.getContentResolver().openInputStream(uri); BufferedInputStream in = new BufferedInputStream(fileInputStream); StringWriter out = new StringWriter(); int b; while ((b = in.read()) != -1) out.write(b); out.flush(); out.close(); in.close(); String encoded = new String(android.util.Base64.encode(out.toString() .getBytes(), android.util.Base64.DEFAULT)); On server side, I make : $data=base64_decode(chunk_split($base64BinaryData)); The result is that my image file is corrupted! INFO : the image is made by an Intent to android.provider.MediaStore.ACTION_IMAGE_CAPTURE Activity in Emulator mode (avd 5554) I've already read lots of discussions about similar problem but nothing fix my bug. thanks for help Regards,

    Read the article

  • How decode an encoded string?

    - by Madan Mohan
    Whle decoding, I got this as out put.I am getting NSData bytes by decoding a string.I am converting NSData bytes as string then I am getting the following otu put. -(void)decodeAction:(NSString*)str { NSData *data=[NSData base64DataFromString:str]; NSString *stt=[NSString stringWithFormat:@"%@",data]; printf("\n stt %s",[stt UTF8String]); } <4f7c204d 6c204d61 604d6164 61616461 6164616e 24616e20 4d6e204d 6e204d6f 604d6f68 616f6861 6f68616e 28616e

    Read the article

  • Can't DER encode and BER decode RSA public key

    - by Mildred
    I have problems using Crypto++ to save a RSA public key (that I obtained loading a private key file in PKCS#8 format). When decoding the key, I always get a BERDecodeErr exception. Here is the code I am using: CryptoPP::RSASSA_PKCS1v15_SHA_Signer _signer; CryptoPP::RSASSA_PKCS1v15_SHA_Verifier _verifier; CryptoPP::ByteQueue bytes; //_signer.AccessPublicKey().Save(bytes); // seem to save private key instead _signer.AccessKey().DEREncodePublicKey(bytes); //_verifier.AccessKey().Load(bytes); //_verifier.AccessKey().BERDecodePublicKey(bytes, 0, 0); _verifier.AccessPublicKey().Load(bytes); I also tried with the instructions commented above, without success. How do you do to save or open the public key? The public key looks like this in hex format, is there a tool to check its format / validity (regarding what crypto++ supports) ? 3081890281810097e24f2e95504a397e90fbc56d1b330ab2ab97a0d326007b890e40013f9e1d9bd9 f54b0c0840782ddae19b5b4595d8f8b9ffe0d2120174fcbc39585c5867cd2dfba69f8e540caa2c52 de8f08278a34e9249120500117f0ba756c5bb2be660013160db9f82f75deb7ccf63742a9e945da6c cf30c2b109b73342daaabd02b872e50203010001

    Read the article

  • Android - Read PNG image without alpha and decode as ARGB_8888

    - by loki666
    I try to read an image from sdcard (in emulator) and then create a Bitmap image with the BitmapFactory.decodeByteArray method. I set the options: options.inPrefferedConfig = Bitmap.Config.ARGB_8888 options.inDither = false Then I extract the pixels into a ByteBuffer. ByteBuffer buffer = ByteBuffer.allocateDirect(width*height*4) bitmap.copyPixelsToBuffer(buffer) I use this ByteBuffer then in the JNI to convert it into RGB format and want to calculate on it. But always I get false data - I test without modifying the ByteBuffer. Only thing I do is to put it into the native method into JNI. Then cast it into a unsigned char* and convert it back into a ByteBuffer before returning it back to Java. unsigned char* buffer = (unsinged char*)(env->GetDirectBufferAddress(byteBuffer)) jobject returnByteBuffer = env->NewDirectByteBuffer(buffer, length) Before displaying the image I get data back with bitmap.copyPixelsFromBuffer( buffer ) But then it has wrong data in it. My Question is if this is because the image is internally converted into RGB 565 or what is wrong here? ..... Have an answer for it: - yes, it is converted internally to RGB565. Does anybody know how to create such an bitmap image from PNG with ARGB8888 pixel format? If anybody has an idea, it would be great!

    Read the article

  • How do I correctly decode unicode parameters passed to a servlet

    - by Grant Wagner
    Suppose I have: <a href="http://www.yahoo.com/" target="_yahoo" title="Yahoo!&#8482;" onclick="return gateway(this);">Yahoo!</a> <script type="text/javascript"> function gateway(lnk) { window.open(SERVLET + '?external_link=' + encodeURIComponent(lnk.href) + '&external_target=' + encodeURIComponent(lnk.target) + '&external_title=' + encodeURIComponent(lnk.title)); return false; } </script> I have confirmed external_title gets encoded as Yahoo!%E2%84%A2 and passed to SERVLET. If in SERVLET I do: Writer writer = response.getWriter(); writer.write(request.getParameter("external_title")); I get Yahoo!â„¢ in the browser. If I manually switch the browser character encoding to UTF-8, it changes to Yahoo!TM (which is what I want). So I figured the encoding I was sending to the browser was wrong (it was Content-type: text/html; charset=ISO-8859-1). I changed SERVLET to: response.setContentType("text/html; charset=utf-8"); Writer writer = response.getWriter(); writer.write(request.getParameter("external_title")); Now the browser character encoding is UTF-8, but it outputs Yahoo!â?¢ and I can't get the browser to render the correct character at all. My question is: is there some combination of Content-type and/or new String(request.getParameter("external_title").getBytes(), "UTF-8"); and/or something else that will result in Yahoo!TM appearing in the SERVLET output?

    Read the article

  • Unable to decode hex values in javascript tooltip

    - by staudk27
    Hi all, I have quite the process that we go through in order to display some e-mail communications in our application. Trying to keep it as general as possible... -We make a request to a service via XML -Get the XML reply string, send the string to a method to encode any invalid characters as follows: public static String convertUTF8(String value) { char[] chars = value.toCharArray(); StringBuffer retVal = new StringBuffer(chars.length); for (int i = 0; i < chars.length; i++) { char c = chars[i]; int chVal = (int)c; if (chVal > Byte.MAX_VALUE) { retVal.append("&#x").append(Integer.toHexString(chVal)).append(";"); } else { retVal.append(c); } } return retVal.toString(); } We then send that result of a string to another method to remove any other invalid characters: public static String removeInvalidCharacters(String inString) { if (inString == null){ return null; } StringBuffer newString = new StringBuffer(); char ch; char c[] = inString.toCharArray(); for (int i = 0; i < c.length; i++) { ch = c[i]; // remove any characters outside the valid UTF-8 range as well as all control characters // except tabs and new lines if ((ch < 0x00FD && ch > 0x001F) || ch == '\t' || ch == '\n' || ch == '\r') { newString.append(ch); } } return newString.toString(); } This string is then "unmarshal'ed" via the SaxParser The object is then sent back to our Display action which generated the response to the calling jsp/javascript to create the page. The issue is some text can contain characters which can't be processed correctly. The following is eventually rendered on the JSP just fine: <PrvwCommTxt>This is a new test. Have a*&amp;#xc7;&amp;#xb4;)&amp;#xa1;.&amp;#xf1;&amp;#xc7;&amp;#xa1;.&amp;#xf1;*&amp;#xc7;&amp;#xb4;)...</PrvwCommTxt> Which shows up as "This is a new test. Have a*Ç´)¡.ñÇ¡." in the browser. -The following shows up in a tooltip while hovering over the above text: <CommDetails>This is a new test. Have a*Ç´)¡.ñÇ¡.ñ*Ç´)¡.ñ*´)(¡.ñÇ(¡.ñÇ* Wonderful Day!</CommDetails> This then shows up incorrectly when rendered in the tooltip javascript with all the HEX values and not being rendered correctly. Any suggestions on how to make the unknown characters show correctly in javascript?

    Read the article

  • Stuck with a Base64 Decode (php)

    - by jay
    I started decoding a footer from a template but this is pretty much as far as I got since im a noobie @ php. Any assstance will be appreciated as I'm pretty suck. Here's the original file: $o="QAAACg07Y25xJ2RrZnR0OiVkawARYmZ1YW5/JTk7JioAEDk7KAHgCAA5DgoNAoA4d293J2BraGVmawAEJyNudFhvaGpiPCc4OQHXbmEhwCcvAbYnLid8AeUEUAY2aGlzZm5pAABidVg2NSdhaGhzcG5jYGJzAUx0KnR3aHMlBNAOBuAOOwbSBQJhcgAAaWRzbmhpWGJ/bnRzdC8gYwAAfmlmam5kWHRuY2JlZnUgLgZAJyEhJy8JEAEUWGYDAHFiLzQuJxSIe3snAY8zAY9zbgMAMi4uC0IoKCcAAENoaSBzJ3RvaHAnaGknc28IKGInYXULgCd3ZmBiDUInABAKDQ6AKBJhJ0Voc3NoaidBAiJQDOM9J1QB0FNGVVMnKioNIQKgAwAnFqJuYzolu8APeWEDcQ+CAmAOAnYZFBHTEcInYHVuY1hvvzMCshIxDgLTEpIRPA+wGZMOFNICkxyiBkEAQQaP+A8YUQaPAsED8waPZnUvMy48JxEACPMCwQWC308GpAEGYyYXDQ8NDyZgDQ0yBo8nJynDBmEAQAeXvgEZQSgWLhikCqECERtfYnN0PSdCSUMCk5vlBPEKDQBhKKN6DmAGYDBgDdIEMShkISBmLKV/8ioekQHwEnIC4wPhASAP6AMpD4EFIAShJ0EwcGJ4eHUjSwqiA8EjFWJ1JSck0R0zJMIiVGRodwfBfnVuYG8z9AOgB7EARQKpYWslOSEC8TAEPCcNgy2wWHNuamIvIF4gFkA4OYAgAYRla2hgbmlhaC8BVGV1KDknAAB0cnd3aHVzYmMnZX4nO2YnAABvdWJhOiVvc3N3PSgocHBwIAApajHwaXNob2h0c25pYH0pZBAAaGooAUQodWJ2cm51YmpiaXMACXQoJSdzbnNrYjolSgMjJ1UB6JLIR9B0czFgYDkB5U8FEwJqOygCVDsoZgI4OSdEdWJmCZFhaHUJpwZmBSdQaHUAPmN3dWJ0dClodWAEOyT3FiET5QCBO6eIGHFkUiNhdRuRNYRKeUxAWGh3SpEvIGUQ0G59fRWgamJ0WCiRQ2F0SnA7OSclfCklRjJTUQRFBiIjcnB3WGtOMFgDAi8gEjKAAAEgOiFjYndzbzo3IW5pZGtyAcJjYjogJyknBw8VwAcLKSAhdBsAWAEvZGhrcmppOhewclgQAGJTMEH/CCIrk+=="; eval(base64_decode("JGxsbD0wO2V2YWwoYmFzZTY0X2RlY29kZSgiSkd4c2JHeHNiR3hzYkd4c1BTZGlZWE5sTmpSZlpHVmpiMlJsSnpzPSIpKTskbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd3OUoyOXlaQ2M3IikpOyRsbGxsPTA7JGxsbGxsPTM7ZXZhbCgkbGxsbGxsbGxsbGwoIkpHdzlKR3hzYkd4c2JHeHNiR3hzS0NSdktUcz0iKSk7JGxsbGxsbGw9MDskbGxsbGxsPSgkbGxsbGxsbGxsbCgkbFsxXSk8PDgpKyRsbGxsbGxsbGxsKCRsWzJdKTtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JHdzlKM04wY214bGJpYzciKSk7JGxsbGxsbGxsbD0xNjskbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGxsbGxsbGwoJGwpOyl7aWYoJGxsbGxsbGxsbD09MCl7JGxsbGxsbD0oJGxsbGxsbGxsbGwoJGxbJGxsbGxsKytdKTw8OCk7JGxsbGxsbCs9JGxsbGxsbGxsbGwoJGxbJGxsbGxsKytdKTskbGxsbGxsbGxsPTE2O31pZigkbGxsbGxsJjB4ODAwMCl7JGxsbD0oJGxsbGxsbGxsbGwoJGxbJGxsbGxsKytdKTw8NCk7JGxsbCs 9KCRsbGxsbGxsbGxsKCRsWyRsbGxsbF0pPj40KTtpZigkbGxsKXskbGw9KCRsbGxsbGxsbGxsKCRsWyRsbGxsbCsrXSkmMHgwZikrMztmb3IoJGxsbGw9MDskbGxsbDwkbGw7JGxsbGwrKykkbGxsbGxsbGxbJGxsbGxsbGwrJGxsbGxdPSRsbGxsbGxsbFskbGxsbGxsbC0kbGxsKyRsbGxsXTskbGxsbGxsbCs9JGxsO31lbHNleyRsbD0oJGxsbGxsbGxsbGwoJGxbJGxsbGxsKytdKTw8OCk7JGxsKz0kbGxsbGxsbGxsbCgkbFskbGxsbGwrK10pKzE2O2ZvcigkbGxsbD0wOyRsbGxsPCRsbDskbGxsbGxsbGxbJGxsbGxsbGwrJGxsbGwrK109JGxsbGxsbGxsbGwoJGxbJGxsbGxsXSkpOyRsbGxsbCsrOyRsbGxsbGxsKz0kbGw7fX1lbHNlJGxsbGxsbGxsWyRsbGxsbGxsKytdPSRsbGxsbGxsbGxsKCRsWyRsbGxsbCsrXSk7JGxsbGxsbDw8PTE7JGxsbGxsbGxsbC0tO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JEMG5ZMmh5SnpzPSIpKTskbGxsbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkQwaVB5SXVKR3hzYkd4c2JHeHNiR3hzYkNnMk1pazciKSk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw==")) Here's what I got it down to: $lllllllllll='base64_decode'; $llllllllll='ord'; $lllllllllllll='strlen'; $llllllllllll='chr'; $lllllllll="?".$llllllllllll(62); $lllllllll.=$llllllllll.$llllllllllll(60)."?"; $lll=0;$code=(base64_decode("JGxsbGxsbGxsbGxsPSdiYXNlNjRfZGVjb2RlJzs="));echo $code;eval(base64_decode("JGxsbGxsbGxsbGxsPSdiYXNlNjRfZGVjb2RlJzs="));$ll=0;$code=($lllllllllll("JGxsbGxsbGxsbGw9J29yZCc7"));echo $code;eval($lllllllllll("JGxsbGxsbGxsbGw9J29yZCc7"));$llll=0;$lllll=3;$code=($lllllllllll("JGw9JGxsbGxsbGxsbGxsKCRvKTs="));echo $code;eval($lllllllllll("JGw9JGxsbGxsbGxsbGxsKCRvKTs="));$lllllll=0;$llllll=($llllllllll($l[1])<<8)+$llllllllll($l[2]);$code=($lllllllllll("JGxsbGxsbGxsbGxsbGw9J3N0cmxlbic7"));echo $code;eval($lllllllllll("JGxsbGxsbGxsbGxsbGw9J3N0cmxlbic7"));$lllllllll=16;$llllllll="";for(;$lllll<$lllllllllllll($l);){if($lllllllll==0){$llllll=($llllllllll($l[$lllll++])<<8);$llllll+=$llllllllll($l[$lllll++]);$lllllllll=16;}if($llllll&0x8000){$lll=($llllllllll($l[$lllll++])<<4);$lll+=($llllllllll($l[$lllll])>>4);if($lll){$ll=($llllllllll($l[$lllll++])&0x0f)+3;for($llll=0;$llll<$ll;$llll++)$llllllll[$lllllll+$llll]=$llllllll[$lllllll-$lll+$llll];$lllllll+=$ll;}else{$ll=($llllllllll($l[$lllll++])<<8);$ll+=$llllllllll($l[$lllll++])+16;for($llll=0;$llll<$ll;$llllllll[$lllllll+$llll++]=$llllllllll($l[$lllll]));$lllll++;$lllllll+=$ll;}}else$llllllll[$lllllll++]=$llllllllll($l[$lllll++]);$llllll<<=1;$lllllllll--;}$code=($lllllllllll("JGxsbGxsbGxsbGxsbD0nY2hyJzs="));echo $code;eval($lllllllllll("JGxsbGxsbGxsbGxsbD0nY2hyJzs="));$lllll=0;$code=($lllllllllll("JGxsbGxsbGxsbD0iPyIuJGxsbGxsbGxsbGxsbCg2Mik7"));echo $code;eval($lllllllllll("JGxsbGxsbGxsbD0iPyIuJGxsbGxsbGxsbGxsbCg2Mik7"));$llllllllll="";for(;$lllll<$lllllll;){$llllllllll.=$llllllllllll($llllllll[$lllll++]^0x07);}$code=($lllllllllll("JGxsbGxsbGxsbC49JGxsbGxsbGxsbGwuJGxsbGxsbGxsbGxsbCg2MCkuIj8iOw=="));echo $code;eval($lllllllllll("JGxsbGxsbGxsbC49JGxsbGxsbGxsbGwuJGxsbGxsbGxsbGxsbCg2MCkuIj8iOw=="));$code=($lllllllll);echo $code;eval($lllllllll);

    Read the article

  • How to decode this data

    - by Nei dal bem
    I have a field in the DB that is type bytea and this is an example of the data in: \254\355\000\005sr\000\014java.net.URL\226%76\032\374\344r\003\000\007I\000\010hashCodeI\000\004portL\000\011authorityt\000\022Ljava/lang/String;L\000\004fileq\000~\000\001L\000\004hostq\000~\000\001L\000\010protocolq\000~\000\001L\000\003refq\000~\000\001xp\377\377\377\377\377\377\377\377t\000\021asm.objectweb.orgt\000\013/index.htmlq\000~\000\003t\000\004httppx I need to convert this data into readable URL, do you know how can I do that? What type of encoding is this? Thanks!

    Read the article

  • C struct print, decode this code?

    - by pauliwago
    I am in the process of studying for a test, and I'm trying to work through some practice problems. I've been working on this a while now..but can't figure it out. Please take a look at the code fragment: union { int i; short x; unsigned short u; float f; } testout; testout.i=0xC0208000; Before I ask the question, can someone please explain to me how the above code works?? My guess is that testout.i=0xC0208000 puts either an int, short, unsigned short, or float and puts the result in that address. (?) The question is what prints out if we write printf("%d", testout.x)? I know we should expect digits....but I have no idea where they are getting the digits from....there is no output. Any explanation would be greatly appreciated. Thanks!

    Read the article

  • how to decode <div> innerHTML to <textarea>

    - by user475464
    below is the <div> and <textarea> in my webpage <div id="div_1" onclick="document.getElementById("textarea_1").innerHTML=document.getElementById("div_1").innerHTML;"> paragraph 1 paragraph 2 paragraph 3 paragraph 4 </div> <textarea id="textarea_1"></textarea> when i click the div i need to show <div> innerHTML to <textarea> but its coming like below <textarea id="textarea_1">paragraph 1<br><br>paragraph 2<br><br>paragraph 3<br><br>paragraph 4</textarea> i need output like this (correct format of <div> ) <textarea id="textarea_1"> paragraph 1 paragraph 2 paragraph 3 paragraph 4 </textarea>

    Read the article

< Previous Page | 5 6 7 8 9 10 11 12 13 14 15 16  | Next Page >