binary vs non-binary ports
Per Bothner
(16 Sep 2004 04:51 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(16 Sep 2004 05:34 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(16 Sep 2004 06:54 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(16 Sep 2004 07:26 UTC)
|
Re: binary vs non-binary ports
Shiro Kawai
(16 Sep 2004 08:30 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(17 Sep 2004 03:43 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(17 Sep 2004 05:32 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(17 Sep 2004 17:22 UTC)
|
Re: binary vs non-binary ports
Shiro Kawai
(17 Sep 2004 20:44 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(17 Sep 2004 21:26 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(18 Sep 2004 02:15 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(18 Sep 2004 16:31 UTC)
|
Re: binary vs non-binary ports
Bradd W. Szonye
(18 Sep 2004 17:43 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(18 Sep 2004 19:51 UTC)
|
Re: binary vs non-binary ports Hans Oesterholt-Dijkema (18 Sep 2004 18:04 UTC)
|
Re: binary vs non-binary ports
Bradd W. Szonye
(18 Sep 2004 19:21 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(20 Sep 2004 02:06 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(20 Sep 2004 02:46 UTC)
|
Re: binary vs non-binary ports
Alex Shinn
(18 Sep 2004 02:21 UTC)
|
Re: binary vs non-binary ports
Per Bothner
(18 Sep 2004 20:04 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(17 Sep 2004 21:37 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(17 Sep 2004 22:40 UTC)
|
Re: binary vs non-binary ports
Hans Oesterholt-Dijkema
(17 Sep 2004 22:48 UTC)
|
On Sat, 18 Sep 2004 09:31:02 -0700, Per Bothner wrote > > I get nervous when I hear about the "creative process of software > engineers". I personally like this human factor, but that is off topic here. > * Portable programs cannot assume they can do binary i/o > on ports opened in the default character mode, unless we > make unreasonable demands on implementors. How portable must it be? But I think I get the message. Do you want to use standard I/O primitives to write binary files? I've argued that an I/O primitive should determine the language interpretation, not the port. The port has to handle the communication or storage medium. > * Most file formats that mix text and binary i/o do *not* handle > general strings: often they only support whatever character encoding > the "creative" engineers are most familiar with. Hmm. That's quite a pessimistic view of the world. Maybe it's more like: "whatever character encoding is sufficient for the project at hand". When the time comes, internationalization is necessary, it is allways possible to refactor your program. > * I/O APIs designed by people unfamiliar with internationalization > issues often have problems in today's internationalized world. True. > * A quick-and-dirty fix is often to specify that strings are in UTF8. Could be, but that still leaves the trouble of decoding up to 6 byte UTF8 encodings. -- Hans Oesterholt-Dijkema