Andy Koppe gmail.com> writes:
>
> It's because setting LC_ALL in a bash script is too late for the bash
> process itself, which will be using the default C.UTF-8 locale unless
> something else is set when bash is invoked.
>
Now I understand. Setting LC_ALL before calling ttt.sh works:
C:\>set
On 20 July 2012 11:46, Ralf wrote:
> My problem is not that the script is in ISO-8859-1, nor that the strings
> or ttt.txt are in ISO-8859.1. They have to be in ISO-8859-1 because all my
> scripts are in ISO-8859-1 and they are used together with Windows-Programs
> (in the DOS-Box) which read and w
My problem is not that the script is in ISO-8859-1, nor that the strings
or ttt.txt are in ISO-8859.1. They have to be in ISO-8859-1 because all my
scripts are in ISO-8859-1 and they are used together with Windows-Programs
(in the DOS-Box) which read and write only ISO-8851-1.
My Problem is to han
On Jul 20 07:08, Ralf wrote:
> Cyrille Lefevre laposte.net> writes:
>
> >
> > Le 19/07/2012 16:51, Ralf a écrit :
> > > Is there a way to get the right umlaut with the internal echo of the
> > > shell?
> > > Example script:
> > >
> > > export LC_ALL=de_DE
> >
> > seems to default to iso8859-1
Cyrille Lefevre laposte.net> writes:
>
> Le 19/07/2012 16:51, Ralf a écrit :
> > Is there a way to get the right umlaut with the internal echo of the shell?
> > Example script:
> >
> > export LC_ALL=de_DE
>
> seems to default to iso8859-1 or something like that, let's try
>
> export LC_ALL=de_
Le 19/07/2012 16:51, Ralf a écrit :
Is there a way to get the right umlaut with the internal echo of the shell?
Example script:
export LC_ALL=de_DE
seems to default to iso8859-1 or something like that, let's try
export LC_ALL=de_DE.UTF-8
which should work better...
also, check your that ter
Is there a way to get the right umlaut with the internal echo of the shell?
Example script:
export LC_ALL=de_DE
c:/unix/bin/uname -a
echo "Rücken" > ttt.txt
cat ttt.txt
c:/unix/bin/od -c ttt.txt
c:/unix/bin/echo "Rücken"
c:/unix/bin/echo "Rücken" | c:/unix/bin/od -c
echo "Rücken"
echo "Rücken" | c
7 matches
Mail list logo