[Jslib] Re: jslib and i18n/character-sets

Todd Rudick Todd.Rudick@morganstanley.com
Tue, 31 Dec 2002 16:18:03 +0900


This is a multi-part message in MIME format.

------=_NextPart_000_00EA_01C2B0E8.31FE0EF0
Content-Type: text/plain;
	charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit

> You tried:
> var file_path = 'path_to_JP_file';
> var f = new File(file_path);
>
> and it didn't work?


  Actually, I must admit that I haven't gotten that far. I'm still trying to
determine if a mozilla app is feasible for what I'm trying to do.
  The files I'm using aren't any flavor of unicode--they're EUC-JP encoded.
So this shouldn't work (and they're not my files, so preconversion to
unicode is not an option). But looking at the underlying file interfaces, it
looks like it might not even be possible from javascript?

cheers,
Todd

------=_NextPart_000_00EA_01C2B0E8.31FE0EF0
Content-Type: text/html;
	charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-2022-jp">
<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>&gt; You tried:<BR>&gt; var file_path =3D =
'path_to_JP_file';<BR>&gt; var f =3D=20
new File(file_path);<BR><FONT face=3D"=1B$B#M#S=1B(B =
=1B$B#P%4%7%C%/=1B(B" size=3D2>&gt; </FONT><BR>&gt; and it=20
didn't work?<BR></DIV>
<DIV><FONT face=3D"=1B$B#M#S=1B(B =1B$B#P%4%7%C%/=1B(B" =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"=1B$B#M#S=1B(B =1B$B#P%4%7%C%/=1B(B" size=3D2>&nbsp; =
Actually,&nbsp;I must admit that I=20
haven't gotten that far. I'm still trying to determine if a mozilla app =
is=20
feasible for what I'm trying to do.</FONT></DIV>
<DIV><FONT face=3D"=1B$B#M#S=1B(B =1B$B#P%4%7%C%/=1B(B" size=3D2>&nbsp; =
The files I'm using aren't any flavor=20
of unicode--they're&nbsp;EUC-JP encoded. So this shouldn't work (and =
they're=20
not&nbsp;my files, so preconversion to unicode is not an option). But =
looking at=20
the underlying file interfaces, it looks like it might not even be =
possible from=20
javascript?</FONT></DIV>
<DIV><FONT face=3D"=1B$B#M#S=1B(B =1B$B#P%4%7%C%/=1B(B" =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"=1B$B#M#S=1B(B =1B$B#P%4%7%C%/=1B(B" =
size=3D2>cheers,</FONT></DIV>
<DIV><FONT face=3D"=1B$B#M#S=1B(B =1B$B#P%4%7%C%/=1B(B" =
size=3D2>Todd</FONT></DIV></BODY></HTML>

------=_NextPart_000_00EA_01C2B0E8.31FE0EF0--