Closed
Bug 265109
Opened 21 years ago
Closed 21 years ago
Use different character encoding for different platforms for README.txt
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: vberon, Assigned: vberon)
References
Details
(Keywords: fixed-aviary1.0)
Attachments
(1 file, 1 obsolete file)
1.16 KB,
patch
|
benjamin
:
review+
asa
:
approval-aviary+
|
Details | Diff | Splinter Review |
Use the same character encoding for README.txt as the installer, as different
platforms are better suited with different character encodings.
The version in CVS will always be in UTF-8.
Basically, I plan to include charset.mk in the browser/locales/Makefile and then
use iconv to convert from UTF-8 to the specific codepage used on Windows for
that language, to get a README.txt well encoded for each platform.
Assignee | ||
Comment 1•21 years ago
|
||
This should fix it.
Assignee | ||
Comment 2•21 years ago
|
||
Comment on attachment 162592 [details] [diff] [review]
Use different encoding for README.txt based on platform used
Requesting review and approval-aviary.
Attachment #162592 -
Flags: review?(bsmedberg)
Attachment #162592 -
Flags: approval-aviary?
Comment 3•21 years ago
|
||
Comment on attachment 162592 [details] [diff] [review]
Use different encoding for README.txt based on platform used
Please rename README_FILES to README_FILE
>+include $(topsrcdir)/toolkit/locales/$(AB_CD)/installer/windows/charset.mk
We should only include this file if we're on the win32 case, and we should only
call iconv on non-en-US win32, so something like this:
> libs:: $(addprefix $(AB_CD)/,$(README_FILES))
>- $(INSTALL) $^ $(DIST)/bin
>+ iconv -f UTF-8 -t $(README_CHARSET) $^ > $(DIST)/bin/$(README_FILES)
if
>
> libs realchrome:: $(addprefix $(AB_CD)/profile/,$(PROFILE_FILES))
> $(INSTALL) $^ $(DIST)/bin/defaults/profile
>
> libs realchrome:: $(addprefix $(AB_CD)/profile/chrome/,$(PROFILE_CHROME))
> $(INSTALL) $^ $(DIST)/bin/defaults/profile/chrome
>
> install:: $(addprefix $(AB_CD)/profile/,$(PROFILE_FILES))
Attachment #162592 -
Flags: review?(bsmedberg)
Attachment #162592 -
Flags: review-
Attachment #162592 -
Flags: approval-aviary?
Assignee | ||
Comment 4•21 years ago
|
||
Attachment #162592 -
Attachment is obsolete: true
Assignee | ||
Comment 5•21 years ago
|
||
Comment on attachment 162596 [details] [diff] [review]
Use different encoding for README.txt based on platform used, take 2
README_FILES will likely contain the license file in the near future.
Adresses issues discussed on IRC.
Attachment #162596 -
Flags: review?(bsmedberg)
Updated•21 years ago
|
Attachment #162596 -
Flags: review?(bsmedberg)
Attachment #162596 -
Flags: review+
Attachment #162596 -
Flags: approval-aviary?
Comment 6•21 years ago
|
||
Comment on attachment 162596 [details] [diff] [review]
Use different encoding for README.txt based on platform used, take 2
a=asa for aviary checkin.
Attachment #162596 -
Flags: approval-aviary? → approval-aviary+
Comment 7•21 years ago
|
||
Fixed on branch, doesn't apply to trunk yet
Comment 8•21 years ago
|
||
I still see README.txt in UTF-8 on Windows.
Windows XP SP2.
Tested with
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0rc1/Firefox%20(1.0rc1,%20ru-RU).zip
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.0rc1/Firefox%20Setup%20(1.0rc1,%20ru-RU).exe
Updated•7 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•