in reply to Re: why no default unicode?
in thread why no default unicode?
For files, it should probably default to binary unless told otherwise.
Since all my terms are UTF-8, is how about a way to tell it to use UTF-8 on 'tty' devices, but default to binary on files? Too much intelligence built into the startup code, probably eh?...
Either that, OR..."auto-switch": if detect widechar on output, then convert to UTF-8 bytes... That would be the most helpful -- since it knows I'm trying to output a wide-char, so it should (IMO) *try* to do the best it can and assume a UTF-8 output device...
What would be the 'downsides' of that approach? (I.e. instead of the current approach of putting out a warning)...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: why no default unicode?
by BrowserUk (Patriarch) on Mar 20, 2011 at 00:10 UTC | |
|
Re^3: why no default unicode?
by moritz (Cardinal) on Mar 20, 2011 at 07:27 UTC |