Date: Wed, 18 Sep 1996 17:32:28 -0500 (EST) From: John Fieber <jfieber@indiana.edu> To: Satoshi Asami <asami@freebsd.org> Cc: doc@freebsd.org Subject: Re: more on Japanese handbook Message-ID: <Pine.BSI.3.95.960918171914.25868D-100000@fallout.campusview.indiana.edu> In-Reply-To: <199609180950.CAA15480@silvia.HIP.Berkeley.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Sep 1996, Satoshi Asami wrote:
> How's the current status of the merging effort? Please let us know
> your thoughts on the directory structure.
Aaahhhhhh!! Okay, I'll try and keep this from getting burried.
> By the way, there is one more thing you may want to consider re the
> handbook encoding.
...
> The optimal solution (at least viewed from the Japanese side of us) is
> to convert the file into JIS just before it's written to whatever
...
> output (plus mime and...). Since we only need EUC->JIS conversion, it
> can be done with a 10-line (or so) C program.
The conversion would be (probably) be done in sgmlfmt, which is
perl, so a perl solution (probably two lines?) would be better.
It could be activated by a command line switch (-jis), or
possibly auto-detect.
> What do you think? By the way, I'm not sure what the user should set
> ${LANG} to when there might be both EUC and JIS on the system, would
> it be suffice to just say "ja_JP"? (I'm asking this mostly to
> Mr. Hanai, I guess.)
/usr/share/locale is a mess of symlinks. What would be handy
would be a snippet of code to take ${LANG} and return the
cannonical locale name (ja -> ja_JP.EUC) or an error if it is
invalid.
[Is it really necessary to have all those symlinks anyway? To me
it just seems to confuse things, but then I'm a novice when it
comes to localization. Which brings up another point, would
anyone be interested in writing up an overview of
i18n/localization facilities in FreeBSD? It would sure help me
out!]
-john
== jfieber@indiana.edu ===========================================
== http://fallout.campusview.indiana.edu/~jfieber ================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.960918171914.25868D-100000>
