Closed Bug 12574 Opened 25 years ago Closed 16 years ago

[feature] character set support in xpinstall script

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect)

All
Windows NT
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: cathleennscp, Assigned: dveditz)

References

Details

(Keywords: intl, l12y, Whiteboard: [xpiprd])

we need to support special character set, such as TM
Blocks: 11020
Target Milestone: M14
Initial thoughts on this is to parse the first line of the install script
ourselves looking for a special comment line. // charset=foo, for example. we
must parse this before executing the file so we can tell the JS interpreter
what charset to expect. The charset values will most likely be whatever we used
in the manifest file for this in 4.5
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall
Engine
Target Milestone: M14 → M17
moving to m17, no need for beta 1
cut feature
putting on helpwanted.
Keywords: helpwanted
Target Milestone: M17 → M30
Parcelling out Cathleen's bugs
Assignee: cathleen → dveditz
Changing fictional "M30" to reality
Target Milestone: M30 → Future
Probably still a future feature, but resetting milestone for reconsideration.
Keywords: helpwantednsbeta1
Priority: P3 → --
Target Milestone: Future → ---
Whiteboard: [xpiprd]
This will have to wait. Meanwhile script authors can escape non-Latin-1 chars.
Keywords: nsbeta1nsbeta1-
Keywords: nsbeta1
Keywords: nsbeta1-
Keywords: nsbeta1
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Resetting milestone of all nsbeta1-bugs, only nsbeta1+ bugs should have a target
milestone.
Target Milestone: mozilla0.9.9 → ---
Resetting milestone, only nsbeta1+ bugs can have a milestone on them, these are
niminated, but not yet plussed.
So, what character encoding is expected by the installer? Is it ISO-8859-1? It
seems like at least on Windows, the system default code page is assumed. The
other day, I tried to install a Korean version of firebird on Win2k (with the
default system locale set to Japanese). Instead of Korean characters, I got a
bunch of Japanese characters. When I switched my default system locale to Korean
and tried again, Korean characters showed up. 

I think it's better to make 'UTF-8' the default instead of adding 'charset=xxxx'
option. 

Please, let me know if I'm talking about a totally different issue here.
What I have observed may have more to do with bug 9589 than this. 
Keywords: intl, l12y
The xpinstall script engine has been removed from the trunk, bugs in it are obsolete.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.