Open
Bug 65675
Opened 24 years ago
Updated 2 years ago
selfserv needs to be usable for i18n testing
Categories
(NSS :: Tools, defect, P3)
Tracking
(Not tracked)
NEW
4.0
People
(Reporter: sonja.mirtitsch, Unassigned)
Details
all or most strings are char * or char [], there are plenty of isalpha(), islower() etc. used
Updated•24 years ago
|
Priority: -- → P3
Target Milestone: --- → 3.3
Version: unspecified → 3.2
Updated•24 years ago
|
Summary: selfserver needs adaptation to be usable for i18n testing → selfserv needs to be usable for i18n testing
Comment 2•24 years ago
|
||
I'm not sure this bug is valid. It's OK for strings to be char * or char[] if they're UTF-8 strings, and NSS generally assumes that strings are UTF-8. isalpha and islower work with other character sets besides ascii, provided that the environment variable LOCALE is set properly. So, use of isalpha and islower is not automatically a sign that the code won't work with other character sets. However code that calls isalpha() with a char value (rather than an int value) clearly won't work with multi-byte character sets. What's needed is a function that takes a char * and returns an int containing the value of the next character (perhaps a multi-byte one) from the UTF-8 string at that point. selfserv uses string processing for command line arguments. It seems to me that more code than merely selfserv needs to be changed if command line arguments will contain UTF-8 characters. NSPR's command line options parser may also need adjustment.
Reporter | ||
Comment 3•24 years ago
|
||
A lot of the languages we need to support have multibyte char sets. Andrea Vine suggested for the NSS developers to attend her class.
Updated•23 years ago
|
Target Milestone: 3.3 → 3.4
Comment 4•23 years ago
|
||
This bug is not on the "in" list for NSS 3.4.
Target Milestone: 3.4 → Future
Comment 5•23 years ago
|
||
We need to have an internationalization test plan. I'll look into this.
Assignee: nelsonb → wtc
Target Milestone: Future → 3.4
Reporter | ||
Comment 6•23 years ago
|
||
My 3.4 testplan i18n will stay what it was for 3.3 - make sure the i18N extensions are installed properly on kentuckyderby - I do not object to moving this to future, or 3.5
Comment 8•22 years ago
|
||
Changed the QA contact to Bishakha.
QA Contact: sonja.mirtitsch → bishakhabanerjee
Updated•19 years ago
|
QA Contact: bishakhabanerjee → jason.m.reid
Updated•18 years ago
|
Assignee: wtchang → nobody
QA Contact: jason.m.reid → tools
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•