You are here: Foswiki>Tasks Web>Item759 (05 Jul 2015, GeorgeClark)Edit Attach

Item759: Search was compromised in UTF-8 environment

pencil
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Engine
Component: I18N, SEARCH
Branches:
Reported By: ChYang
Waiting For:
Last Change By: GeorgeClark
Search will fail (give 0 result) using some Chinese words but succeed using others.
  • Success: 楊宗翰, 資料庫
  • Fail: 盧成皆, 檢索, 免費, 字典

Re-edit the topic will break Chinese. I put the same Chinese words in my site.

Foswiki 1.0 with the following settings.
  • $Foswiki::cfg{Site}{Locale} = 'zh_TW.UTF-8';
  • $Foswiki::cfg{UseLocale} = 1;
  • $Foswiki::cfg{Site}{CharSet} = 'UTF-8';


Confirming this as one of the many tasks that needs review once an I18N release is started.

-- GeorgeClark - 06 Jan 2015

Searched: 楊宗翰, 資料庫

Results from Tasks web retrieved at 05:17 (GMT)

Item759
Search will fail (give 0 result) using some Chinese words but succeed using others. * Success: #26954; #23447; #32752;, #36039; #26009; #24235; * Fail: ...
Number of topics: 1

Searched: 盧成皆, 檢索, 免費, 字典

Results from Tasks web retrieved at 05:17 (GMT)

Item759
Search will fail (give 0 result) using some Chinese words but succeed using others. * Success: #26954; #23447; #32752;, #36039; #26009; #24235; * Fail: ...
Number of topics: 1

Works fine on 1.2.0 (unicode)

-- Main.CrawfordCurrie - 24 Jun 2015 - 15:45

ItemTemplate edit

Summary Search was compromised in UTF-8 environment
ReportedBy ChYang
Codebase 1.0.0
SVN Range SVN 1972: Foswiki-1.0.0, Fri, 09 Jan 2009, build 1899
AppliesTo Engine
Component I18N, SEARCH
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r7 - 05 Jul 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy