Re[2]: Issues with recent utf8 patch

2007-11-22 Thread Pavel Tsekov
Hello Rafal, Wednesday, November 21, 2007, 4:10:33 PM, you wrote: > A surprise: dialogbox issue is NOT patch related, it comes from original > mc code. > In src/dialog.c in draw_box(Dlg_head *h, int y, int x, int ys, int xs) > lies the problem. If slang is used a box is drawn, otherwise code is >

Re: Issues with recent utf8 patch

2007-11-22 Thread Rafał Mużyło
A surprise: dialogbox issue is NOT patch related, it comes from original mc code. In src/dialog.c in draw_box(Dlg_head *h, int y, int x, int ys, int xs) lies the problem. If slang is used a box is drawn, otherwise code is used that in most cases works correctly. It fails, however if box drawn is bi

Re: mc and utf-8 again but different

2007-11-22 Thread Rostislav Beneš
On Thu, 22 Nov 2007 14:43:21 +0100, Vladimir Nadvornik <[EMAIL PROTECTED]> wrote: It seems that there is the same bug as in the old utf8 patches: move and copy should preserve the original broken sequences, i.e. it should be possible to copy a file with 8859 name even if mc is in utf-8 mode.

Re: mc and utf-8 again but different

2007-11-22 Thread Vladimir Nadvornik
On pondělí 12 listopad 2007, Rostislav Beneš wrote: > Problems: > > invalid strings - I chose a defensive way, no invalid strings are loaded > in mc. Only panels can handle invalid file names. I'm not sure, that I > found every place, where invalid strings can appear. API functions like > str_next_