On 10/17/06, Axel Liljencrantz <[EMAIL PROTECTED]> wrote: [...] > > This log is very helpful. See all the 'mbrtowc' lines? That is a > function to convert from multibyte narrow character sets to wide > character sets. If fishd is running into errors with this, it probably > means that there is an issue with the locale. I'm going to rewrite a > bit of code to make fish more stringent here, probably by making sure > that the on-the-wire character set is always UTF-8, even if the locale > is e.g. C. > > I probably wasn't seeing this problem because none of my universal > variables contain non-ascii data. I'll be darned if I know why this > problem would be surfacing right now for both you and Martin, > though... > > Anyway, thanks for the help. I hope to have a patch for this today or > tomorrow, hope you'll have time to try it out.
The time was 23:16 when I begun writing this letter, I hope to manage the 'today or tomorrow' with the least possible margin. There is now a patch in the darcs tree that makes the following changes: * The character set of fishd, both in the fishd.HOSTNAME file and over the socket, is ASCII. Non-ASCII characters and characters below 32 are backslash escaped. * If a character is not ascii, all clients must try to read it as UTF-8. But sending UTF-8 data is a bug. This is to increase robustness and backwards compatibility. * If a line contains a non-UTF-8 character, the entire line is ignored. Taken together, these fixes should transparently handle things like different fish instances using different character sets, which I suspect is what is causing the problems. I hope that Martin and Philip have time to test this patch soon, and that it fixes all outstanding fishd-issues. [...] -- Axel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users