aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxinming <xinming@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-06-22 07:54:25 +0000
committerxinming <xinming@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2009-06-22 07:54:25 +0000
commit565c0f31ec5a6e3a121e3da74c9fc1a845aeac72 (patch)
tree056a0b4cc7b4352653a323114af5cb7da0e779cb
parentbcbb11e940adefa53d7bbe1d67f65957822ea56d (diff)
downloadreaction-565c0f31ec5a6e3a121e3da74c9fc1a845aeac72.tar.gz
reaction-565c0f31ec5a6e3a121e3da74c9fc1a845aeac72.zip
Add Reaction::Manual::Unicode.
-rw-r--r--lib/Reaction/Manual/Unicode.pod48
1 files changed, 48 insertions, 0 deletions
diff --git a/lib/Reaction/Manual/Unicode.pod b/lib/Reaction/Manual/Unicode.pod
new file mode 100644
index 0000000..f200219
--- /dev/null
+++ b/lib/Reaction/Manual/Unicode.pod
@@ -0,0 +1,48 @@
+=head1 NAME
+
+Reaction::Manual::Unicode.pod - Unicode support in Reaction
+
+=head1 DESCRIPTION
+
+This document gives you notes about using Unicode in Reaction.
+
+=head1 Working with Catalyst
+
+Catalyst has a plugin which is named L<Catalyst::Plugin::Unicode>, It decodes
+the request parameters to utf8 when preparing parameters, and decodes the
+response body after the request is finalized. Since, Reaction uses utf8 by
+default, and does this already. So, you should avoid using the
+L<Catalyst::Plugin::Unicode>.
+
+=head1 Note about LayoutSet
+
+LayoutSet files B<MUST> be in utf8, since ASCII is a subset of utf8, You don't
+need to worry about anything if you are using plain ASCII. But people who uses
+CJK, must be sure to configure your editors to save files in utf8.
+
+=head1 Note about Database
+
+If you don't see the correct result. Be sure to double check the database
+related configuration (connecting parameter or database server side config for
+example). Database B<MUST> be configured to use utf8. Reaction won't decode or
+encode anything. It just return the data as it is from database.
+
+=head1 SEE ALSO
+
+=over
+
+=item * L<Reaction::Manual>
+
+=item * L<utf8>
+
+=back
+
+=head1 AUTHORS
+
+See L<Reaction::Class> for authors.
+
+=head1 LICENSE
+
+See L<Reaction::Class> for the license.
+
+=cut