Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] utf form problems
- Date: Thu, 28 Feb 2008 02:18:01 +0900
- From: "Marty Pauley" <marty.pauley@example.com>
- Subject: Re: [tlug] utf form problems
- References: <47C3B7E0.9020906@sonic.net> <83a2a4180802260713h21d40a48s511a3d576d54b31a@mail.gmail.com> <47C49D97.4040107@sonic.net>
On 27/02/2008, steven smith <sjs@example.com> wrote: > > > > You're reading stdin directly!? Don't do that. > > ?? what else would one do? Try something like: #!/usr/bin/perl use utf8; use CGI ':standard'; print header(-type => "text/html", -charset => "UTF-8"); print start_html("Simple form test"), h1("Hello"); if (my $input = param("stuff")) { print p("You entered: $input"); } print start_form, "Type some stuff here: ", textfield("stuff"), end_form; print end_html; There are many other ways to do the same thing, but that example should be a good enough starting point for you, and it will be well documented in the CGI module. -- Marty
- Follow-Ups:
- Re: [tlug] utf form problems
- From: steven smith
- References:
- [tlug] utf form problems
- From: steven smith
- Re: [tlug] utf form problems
- From: Marty Pauley
- Re: [tlug] utf form problems
- From: steven smith
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Open Source Conference 2008 this weekend
- Next by Date: Re: [tlug] utf form problems
- Previous by thread: Re: [tlug] utf form problems
- Next by thread: Re: [tlug] utf form problems
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links