[PATCH] language environment & -encoding option

Takashi Okamoto toraneko at kun.ne.jp
Thu Jul 19 15:40:43 PDT 2001


Hi,kaffe.

I want to add the function which is supporting language environment.
It means kaffe investigate LANG environment and set user.language,
user.region,file.encoding properties. 
for example.

# set LANG=ja_JP.eucJP
# kaffe HelloWorld

Then, these properties are

	user.language: ja
	user.region: JP
	file.encoding: eucJP

It makes I18Nd application distinguish current language environment.

I also add -encoding option to this patch for character encoding. 


BTW, I asked kjc developers to add -encoding option. The current kjc 
     (in CVS) is implemented it. I prefer it rather than kjc-1.5A:)


regards.
----
Takashi Okamoto


-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.c.patch
Type: application/octet-stream
Size: 3530 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20010720/6ab7b190/attachment-0003.obj 


More information about the kaffe mailing list