Re: Problem wih characters (was Problem with IME)
From: Bart Mathias (mathias_at_hawaii.edu)
Date: 02/27/05
- Next message: Bart Mathias: "Re: Problem wih characters (was Problem with IME)"
- Previous message: Kevin Gowen: "Re: Eijiro: quirky or wrong?"
- In reply to: jim_breen_at_hotmail.com: "Re: Problem wih characters (was Problem with IME)"
- Next in thread: Tobias Diedrich: "Re: Problem wih characters"
- Reply: Tobias Diedrich: "Re: Problem wih characters"
- Reply: jim_breen_at_hotmail.com: "Re: Problem wih characters (was Problem with IME)"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 27 Feb 2005 01:35:11 GMT
jim_breen@hotmail.com wrote:
> [...]
> OK. Two possibilities:
I have an idea these are the same things Timmy Douglas suggested, except
I understand it a little better stated as follows.
> (a) use the "env" utility, i.e. put something like:
>
> /usr/bin/env LANG=ja_JP.UTF-8 /usr/bin/mozilla
>
> in the Command box;
OK, that worked nicely. I would never have been able to figure it out
for myself; I've been using Linux for almost two years now, and never
even *heard* of an "env" utility. (I have now looked at the manual;
apparently I can run any program I could start from the shell in a
LANG=ja_JP.UTF-8 environment, although I suspect it wouldn't have any
effect on most. [I'd better save this before I experiment with ~$ env
LANG=ja_JP.UTF-8 vi.] OK, I didn't think vi would like Japanese. But
it didn't work with AbiWord either, in spite of the fact that any .doc
attachment I open from Mozilla brings AbiWord up in broken Japanese!)
I'm also so ignorant that I have no idea how to do the following, or it
would have been my first choice.
> (b) write a little script like:
>
> #!/bin/bash
> LANG=ja_JP.UTF-8 /usr/bin/mozilla
>
> and put its name in the Command box.
I don't get what the first line could do. Doesn't the "#" cause it to
be ignored? (I guess not! When I tried running it in a shell, it came
out like this:
bart@AmigaOne:~$ #!/bin/bash
bash: !/bin/bash: event not found
The "!" looks like what I've been using to start Mozilla from the shell:
"!L<return>."
Neither my Unix manual (which doesn't know anything about environments
but "set") nor my Linux manual (which doesn't even index "env" or
"environment") is very informative about where I should put a script
file after I write it.
But I am going to study Tobias Diedrich's suggestion very hard. I just
hope I live long enough to understand it.
Thanks, Jim (and Timmy and Tobias),
Bart
- Next message: Bart Mathias: "Re: Problem wih characters (was Problem with IME)"
- Previous message: Kevin Gowen: "Re: Eijiro: quirky or wrong?"
- In reply to: jim_breen_at_hotmail.com: "Re: Problem wih characters (was Problem with IME)"
- Next in thread: Tobias Diedrich: "Re: Problem wih characters"
- Reply: Tobias Diedrich: "Re: Problem wih characters"
- Reply: jim_breen_at_hotmail.com: "Re: Problem wih characters (was Problem with IME)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|