Bugzilla – Attachment 13328 Details for
Bug 9010
Quote of the day: diacritics & other utf8 chars not displayed correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9010 - Quote of the day: Umlauts do not display correctly Added utf8-encoding in json-header for correct view quotes in quotes editor.
Bug-9010---Quote-of-the-day-Umlauts-do-not-display.patch (text/plain), 1.09 KB, created by
Chris Cormack
on 2012-11-08 23:32:02 UTC
(
hide
)
Description:
Bug 9010 - Quote of the day: Umlauts do not display correctly Added utf8-encoding in json-header for correct view quotes in quotes editor.
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-11-08 23:32:02 UTC
Size:
1.09 KB
patch
obsolete
>From 32b6338681dc2ef534eac8f01e4920c3713776cd Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Serhij=20Dubyk=20{=D0=A1=D0=B5=D1=80=D0=B3=D1=96=D0=B9=20=D0?= > =?UTF-8?q?=94=D1=83=D0=B1=D0=B8=D0=BA}?= <serhijdubyk@gmail.com> >Date: Tue, 6 Nov 2012 14:16:39 +0200 >Subject: [PATCH] Bug 9010 - Quote of the day: Umlauts do not display > correctly Added utf8-encoding in json-header for correct > view quotes in quotes editor. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > tools/quotes/quotes_ajax.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/tools/quotes/quotes_ajax.pl b/tools/quotes/quotes_ajax.pl >index 926fe9d..528c3dd 100755 >--- a/tools/quotes/quotes_ajax.pl >+++ b/tools/quotes/quotes_ajax.pl >@@ -46,7 +46,7 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( > > my $params = $cgi->Vars; # NOTE: Multivalue parameters NOT allowed!! > >-print $cgi->header('application/json'); >+print $cgi->header('application/json; charset=utf-8'); > > if ($params->{'action'} eq 'add') { > my $sth = $dbh->prepare('INSERT INTO quotes (source, text) VALUES (?, ?);'); >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9010
:
13250
|
13262
|
13263
|
13264
| 13328 |
13329
|
13330
|
13985