User Profile

Collapse

Profile Sidebar

Collapse
kumarpl
kumarpl
Last Activity: Nov 14 '06, 03:31 AM
Joined: Nov 9 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I am using PERL 5.6 for CGI (Server script).
    When a query string containing Korean values is POSTed, the following code gives me the values in ANSI form.
    As a result, the I get junk values.
    My problem is to read these Korean values properly and not as junk.

    [CODE=perl]if ($ENV{'REQUEST_ METHOD'} eq 'POST') {
    read(STDIN,$buf ,$ENV{'CONTENT_ LENGTH'});
    }
    else {
    $buf=$ENV{'QUER Y_STRING'};...
    See more | Go to post

    Leave a comment:


  • Cannot get the korean value that was posted to CGI.

    CASE-1: From a CGI window, when I open another CGI window using window.open() and post a korean value [ encoded using Javascript encodeURI() ] through the URL, and then if I read the input using PERL from
    STDIN, I dont receive the original Korean string. I see some junk content.

    CASE-2: On the other side, if I post the Korean value [ encoded with EUC_KR ] using Java to the same CGI window, I could get my original Korean string...
    See more | Go to post

  • Cannot get the korean value that was posted to CGI.

    CASE-1: From a CGI window, when I open another CGI window using window.open() and post a korean value [ encoded using Javascript encodeURI() ] through the URL, and then if I read the input using PERL from
    STDIN, I dont receive the original Korean string. I see some junk content.

    CASE-2: On the other side, if I post the Korean value [ encoded with EUC_KR ] using...
    See more | Go to post

    Leave a comment:


  • kumarpl
    started a topic Cannot get the korean value that was posted to CGI
    in Perl

    Cannot get the korean value that was posted to CGI

    CASE-1: From a CGI window, when I open another CGI window using window.open() and post a korean value [ encoded using Javascript encodeURI() ] through the URL, and then if I read the input using PERL from
    STDIN, I dont receive the original Korean string. I see some junk content.

    CASE-2: On the other side, if I post the Korean value [ encoded with EUC_KR ] using Java to the same CGI window, I could get my original Korean string...
    See more | Go to post
No activity results to display
Show More
Working...