Bug 26113
| Summary: | less can't properly display Japanese doc | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Bill Huang <bhuang> |
| Component: | less | Assignee: | Matt Wilson <msw> |
| Status: | CLOSED RAWHIDE | QA Contact: | Aaron Brown <abrown> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.1 | CC: | havill, ynakai |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | Florence RC-1 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2001-02-07 18:56:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Bill Huang
2001-02-05 17:38:04 UTC
if JLESSCHARSET=japanese is exported,less can display Japanese properly. So,is it a problem of anaconda? Does this problem still exist with the newest less rpm in dist/7.1 ? (rpm-358-14.i386.rpm) This is because anaconda sets LANG=ja_JP.eucjp at install, and bashrc set JLESSCHARSET=japanese only when LANG=ja or LANG=ja_JP.eucjp. When I set JLESSCHARSE=japanese manually, it works. It is an anaconda problem, so it's not less problem. (msw is better to assign this bug) This defect is considered MUST-FIX for Florence Release-Candidate #1 LANG=ja_JP.eucjp less /mnt/redhat/comps/dist/7.1/READMES/i386/RELEASE-NOTES.ja does not work LANG=en_US less /mnt/redhat/comps/dist/7.1/READMES/i386/RELEASE-NOTES.ja *works* Why is this? also, ja_JP.eucJP works, so there is a bug in the less patch. --- less-358+iso247-20001210.diff~ Sun Dec 10 02:53:55 2000
+++ less-358+iso247-20001210.diff Mon Feb 5 17:20:04 2001
@@ -355,7 +355,7 @@
+ name = getenv("LANG");
+ for (p = charlocales; name && p->name != NULL; p++)
+ {
-+ if (strcmp(name, p->name) == 0)
++ if (strcasecmp(name, p->name) == 0)
+ {
+ (void) icharset(p->charset);
+ return;
rebuilding...
fixed. Fixed.less can display Japanese text file properly. |