in reply to Weird encoding after grabing filenames
print "Content-Type: text/html\n\n";
Always include the encoding, ie Content-Type: text/html; charset=utf-8\n\n (or let CGI generate that for you, you use it anyway).
Also you have to pass a scalar as the first argument to from_to, not an array. Read the docs for usage information.
|Replies are listed 'Best First'.|
Re^2: Weird encoding after grabing filenames
by Nik on Jun 16, 2009 at 20:27 UTC