X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FUTF8.pod;h=eefb181c87062b2452b77d8d451ec2eb9dd4d7d4;hb=9c056c82094f7550ac9e39408c52d248bcace7b3;hp=91aeaed1264aaaeec059befe66ce1f53007e3b59;hpb=b16a64afb615b6037bfddcca42e92c909a77f0db;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/UTF8.pod b/lib/Catalyst/UTF8.pod index 91aeaed..eefb181 100644 --- a/lib/Catalyst/UTF8.pod +++ b/lib/Catalyst/UTF8.pod @@ -196,6 +196,27 @@ to send over the wire via HTTP needs to be bytes (not unicode characters). Remember if you use any utf8 literals in your source code, you should use the C pragma. +B Assuming UTF-8 in your query parameters and keywords may be an issue if you have +legacy code where you created URL in templates manually and used an encoding other than UTF-8. +In these cases you may find versions of Catalyst after 5.90080+ will incorrectly decode. For +backwards compatibility we offer three configurations settings, here described in order of +precedence: + +C + +If true, then do not try to character decode any wide characters in your +request URL query or keywords. You will need gto handle this manually in your action code +(although if you choose this setting, chances are you already do this). + +C + +This setting allows one to specify a fixed value for how to decode your query, instead of using +the default, UTF-8. + +C + +If this is true we decode using whatever you set C to. + =head2 UTF8 in Form POST In general most modern browsers will follow the specification, which says that POSTed