X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FUTF8.pod;h=d8bce96ec7a6e6ed99aa9aba2f85e81869ebd25d;hp=40ba088890624f0fb8e159cf6e3abd01828b4922;hb=743f6b46bb7bf5b80dd1c6e02e08352b0c42f987;hpb=9f1fb723a7cb2ee8c57398f266f9bdf01035fd7c diff --git a/lib/Catalyst/UTF8.pod b/lib/Catalyst/UTF8.pod index 40ba088..d8bce96 100644 --- a/lib/Catalyst/UTF8.pod +++ b/lib/Catalyst/UTF8.pod @@ -307,10 +307,16 @@ In this case we've created a POST request but each part specifies its own conten character set (and setting a content encoding would also be possible). Generally one would not run into this situation in a web browser context but for completeness sake Catalyst will notice if a multipart POST contains parts with complex or extended -header information and in those cases it will not attempt to apply decoding to the -form values. Instead the part will be represented as an instance of an object -L which will contain all the header information needed -for you to perform custom parser of the data. +header information. In these cases we will try to inspect the meta data and do the +right thing (in the above case we'd use SHIFT_JIS to decode, not UTF-8). However if +after inspecting the headers we cannot figure out how to decode the data, in those cases it +will not attempt to apply decoding to the form values. Instead the part will be represented as +an instance of an object L which will contain all the header +information needed for you to perform custom parser of the data. + +Ideally we'd fix L to be smarter about decoding so please submit your cases of +this so we can add inteligence to the parser and find a way to extract a valid value out +of it. =head1 UTF8 Encoding in Body Response