Re: byte vs. character approach [was: Terminology concerning strings]

2005-04-07 Thread The One
Hi, How can I chang mc languege (menu,etc.) yo another language? ___ Mc-devel mailing list http://mail.gnome.org/mailman/listinfo/mc-devel

Re: byte vs. character approach [was: Terminology concerning strings]

2005-04-07 Thread Jindrich Novy
On Thu, 2005-04-07 at 09:29 +0200, The One wrote: Hi, How can I chang mc languege (menu,etc.) yo another language? Try to export LANG=pl_PL environment variable or simply type: LANG=pl_PL mc at the command prompt. (LANG=pl_PL.UTF-8 if you use UTF8ized mc) This actually sets Polish

Re: byte vs. character approach [was: Terminology concerning strings]

2005-04-07 Thread Pavel Tsekov
Hello, On Thu, 7 Apr 2005, The One wrote: Hi, How can I chang mc languege (menu,etc.) yo another language? This is not the right list for this kind of questions. Use mc at gnome dot org . ___ Mc-devel mailing list

Re: Terminology concerning strings

2005-04-06 Thread Leonard den Ottolander
Hi Pavel, On Mon, 2005-03-28 at 17:39, Pavel Tsekov wrote: On Mon, 4 Apr 2005, Roland Illig wrote: size_t fnamewidth, fnameheight, fnamesize, fnamelen; My personal preference is to prepend an underscore to the property tag i.e: `fname_width' instead of `fnamewidth' I agree that

Re: Terminology concerning strings

2005-04-06 Thread Roland Illig
Roland Illig wrote: Hi all, in the last time I have programmed a bit with strings, and I have found four properties of them which need to be distinguished and which should be named consistently throughout the whole Midnight Commander. * the _size_ of a string (as well as for other objects) is

Re: Terminology concerning strings

2005-04-06 Thread Roland Illig
Roland Illig wrote: Roland Illig wrote: Hi all, in the last time I have programmed a bit with strings, and I have found four properties of them which need to be distinguished and which should be named consistently throughout the whole Midnight Commander. * the _size_ of a string (as well as for

byte vs. character approach [was: Terminology concerning strings]

2005-04-06 Thread Koblinger Egmont
Hi all, According to http://www.gnu.org/software/libc/manual/html_node/Extended-Char-Intro.html wchar_t on GNU systems is 4 bytes by default. Internal representation of multibyte strings always uses fixed widths or something like x[3] wouldn't work (without scanning the string). So in case x

Terminology concerning strings

2005-04-04 Thread Roland Illig
Hi all, in the last time I have programmed a bit with strings, and I have found four properties of them which need to be distinguished and which should be named consistently throughout the whole Midnight Commander. * the _size_ of a string (as well as for other objects) is the number of bytes

Re: Terminology concerning strings

2005-04-04 Thread Koblinger Egmont
Hi, On Mon, Apr 04, 2005 at 11:35:44AM +0200, Roland Illig wrote: * the _size_ of a string (as well as for other objects) is the number of bytes that is allocated for it. For arrays, it is the number of entries of the array. For strings it is at least _length_ + 1. * the _length_ of a