Leo Kislov schrieb:
> Environmental variable TERMENCODING ? Heck, maybe this will catch on
> and will be used by other languages, libraries, terminals, etc. It's
> not really Python only problem.
I also considered environment variables. This can likely be made
available only in 2.6, though.
Plus,
Martin v. Löwis wrote:
> [EMAIL PROTECTED] schrieb:
> > The following line in my code is failing because sys.stdin.encoding is
> > Null. This has only started happening since I started working with
> > Pydef in Eclipse SDK. Any ideas?
> >
> > uni=unicode(word,sys.stdin.encoding)
>
> That's a probl
[EMAIL PROTECTED] wrote:
> Duncan Booth skrev:
>
> > [EMAIL PROTECTED] wrote:
> >
> > > The following line in my code is failing because sys.stdin.encoding is
> > > Null.
> >
> > I'll guess you mean None rather than Null.
> >
> > > This has only started happening since I started working with
> > >
Duncan Booth skrev:
> [EMAIL PROTECTED] wrote:
>
> > The call to sys.getdefaultencoding() returns ascii. Since I can enter
> > the characters åöä on the command line in Pydef/Eclipse doesn't that
> > mean that the stdin is not ascii? What should I do?
> >
> I think that depends on what sort of sc
[EMAIL PROTECTED] wrote:
> The call to sys.getdefaultencoding() returns ascii. Since I can enter
> the characters åöä on the command line in Pydef/Eclipse doesn't that
> mean that the stdin is not ascii? What should I do?
>
I think that depends on what sort of script you are writing.
If it is ju
[EMAIL PROTECTED] schrieb:
> The following line in my code is failing because sys.stdin.encoding is
> Null. This has only started happening since I started working with
> Pydef in Eclipse SDK. Any ideas?
>
> uni=unicode(word,sys.stdin.encoding)
That's a problem with pydev, where the standard mach
Duncan Booth skrev:
> [EMAIL PROTECTED] wrote:
>
> > The following line in my code is failing because sys.stdin.encoding is
> > Null.
>
> I'll guess you mean None rather than Null.
>
> > This has only started happening since I started working with
> > Pydef in Eclipse SDK. Any ideas?
> >
> > uni=u
[EMAIL PROTECTED] wrote:
> The following line in my code is failing because sys.stdin.encoding is
> Null.
I'll guess you mean None rather than Null.
> This has only started happening since I started working with
> Pydef in Eclipse SDK. Any ideas?
>
> uni=unicode(word,sys.stdin.encoding)
>
You