Bug 65 (bokmal) - Unicode character problem (Bokmål)
Summary: Unicode character problem (Bokmål)
Status: VERIFIED FIXED
Alias: bokmal
Product: SlackPack
Classification: Web
Component: Web Site (User interface) (show other bugs)
Version: 0.2.2
Hardware: All All
: Normal (P3) normal (vote)
Target Milestone: 0.3
Assignee: Georgi D. Sotirov
QA Contact: Administrator
URL: http://sotirov-bg.net/slackpack/pack....
Whiteboard:
Keywords: interface
Depends on:
Blocks:
 
Reported: 2007-03-19 15:47 EET by Georgi D. Sotirov
Modified: 2007-04-19 22:53 EEST (History)
0 users

See Also:
My Bug ID:
My description:
My date:
My choice:
My selection: ---


Attachments
With this patch high-bit characters won't be escaped (862 bytes, patch)
2007-03-19 21:36 EET, Georgi D. Sotirov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi D. Sotirov 2007-03-19 15:47:33 EET
Even though the SlackPack database is UTF-8 and all the site pages declare UTF-8 encoding there is a problematic character from one of the package descriptions. See bug URL for example.
Comment 1 Georgi D. Sotirov 2007-03-19 16:03:07 EET
The problem is in the Bugzilla::Util::format_desc_html function. By default it encodes all high-bit characters.
Comment 2 Georgi D. Sotirov 2007-03-19 21:36:27 EET
Created attachment 59 [details]
With this patch high-bit characters won't be escaped

This patch modifies the invocation of encode_entities in SlackPack::Util, so that only <, >, &, ' and " characters are escaped for XML and HTML
Comment 3 Georgi D. Sotirov 2007-03-19 21:49:27 EET
This bug was localized to the package description in the web page and feeds. The patch is applied and tested.


bug/show.html.tmpl processed on May 19, 2024 at 01:30:56.
(provided by the Example extension).