Closed
Bug 331691
Opened 19 years ago
Closed 17 years ago
utf-8 bad truncate after 'maxlength'
Categories
(Bugzilla :: Query/Bug List, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 363153
People
(Reporter: bugzilla.10.deep125, Unassigned)
References
Details
Attachments
(2 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
text/plain
|
Details |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; .NET CLR 1.1.4322)
Build Identifier:
template/en/default/list/table.html.tmpl
have field 'maxlength'
It is BYTE count.
Need character count. Because UTF-8 is multibyte string
Reproducible: Always
Steps to Reproduce:
1.Make bug have summary contents no latin characters
2.Look this sammary in buglist.
Actual Results:
Field 'short summary'in buglist have bad last character.
Count of character is < 60.
Reporter | ||
Updated•19 years ago
|
Version: unspecified → 2.22
It also happens with the component field.
If the component name is "Suivi Déclaration", the 8-bytes truncated string will be
"Suivi d�"
Comment 2•19 years ago
|
||
*** Bug 332190 has been marked as a duplicate of this bug. ***
Comment 3•19 years ago
|
||
Confirming. It's what we should do as soon as possible. What's up if you happen
to be bitten by bug 331583? Do we need to fix such databases here, or in bug
304550, or not at all?
Updated•19 years ago
|
Severity: normal → major
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.24
Comment 4•19 years ago
|
||
There has a patch been proposed on bug 332190 for this. I asked to move it here.
Comment 5•19 years ago
|
||
This is patch from bug #332190.
This patch is only for illustration. String must be decoded not in inner
functions of Bugzilla, but just when it comes from outside.
Comment 6•18 years ago
|
||
Bug 332190, of which this is marked as a duplicate, is actually more general than this one. In our bugzilla installation we mainly use Greek, and I consider bad wrapping in the description and comments much more annoying than the bad truncation of the summary.
Comment 7•18 years ago
|
||
Sorry; of course I meant that bug 332190 is marked a duplicate of this, not vice-versa.
Comment 8•18 years ago
|
||
I made these changes for my purposes
Comment 9•18 years ago
|
||
This bug is retargetted to Bugzilla 3.2 for one of the following reasons:
- it has no assignee (except the default one)
- we don't expect someone to fix it in the next two weeks (i.e. before we freeze the trunk to prepare Bugzilla 3.0 RC1)
- it's not a blocker
If you are working on this bug and you think you will be able to submit a patch in the next two weeks, retarget this bug to 3.0.
If this bug is something you would like to see implemented in 3.0 but you are not a developer or you don't think you will be able to fix this bug yourself in the next two weeks, please *do not* retarget this bug.
If you think this bug should absolutely be fixed before we release 3.0, either ask on IRC or use the "blocking3.0 flag".
Target Milestone: Bugzilla 3.0 → Bugzilla 3.2
Updated•17 years ago
|
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Updated•17 years ago
|
Target Milestone: Bugzilla 3.2 → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•