aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/Manual/Unicode.pod
blob: fb897e0775503fa199c453b8fe37cca1422dd9e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
=head1 NAME

Reaction::Manual::Unicode - 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