Fwd: Re: linux-friendly ebook with decent support in Israel?

2014-01-12 Thread geoffrey mendelson
It will not be EPUB only, it will be Android with e-Ink display, so it can do almost anything that an Android tablet can. Battery life is expected to be 3 weeks. This is what we got in the preliminary models. If that's the case, it will be very interesting. My android devices, a 10

Any experience with cubox-i?

2014-01-12 Thread Amos Shapira
Hi, After moving to a new rented unit I found that it's going to be a bit (or very) tricky to get my aging desktop (which I mainly use for Bittorent and storage server these days) connected to the ADSL modem using wired Ethernet. Instead, I though that I might get myself some media-centre

time report tool

2014-01-12 Thread Erez D
hello i'm looking for an open source tool, prefferebly web based tool, that employees can report what they have worked on (i.e. this and this time on that task etc ...) i need this so i can extract information for reporting to the mad'an thanks erez

Re: Any experience with cubox-i?

2014-01-12 Thread Moish
On 12/01/2014 12:59, Amos Shapira wrote: Hi, After moving to a new rented unit I found that it's going to be a bit (or very) tricky to get my aging desktop (which I mainly use for Bittorent and "storage

Fwd: Re: Any experience with cubox-i?

2014-01-12 Thread geoffrey mendelson
Forgot to send to the list, with some additional information. Original Message Subject:Re: Any experience with cubox-i? Date: Sun, 12 Jan 2014 15:50:47 +0200 From: geoffrey mendelson geoffreymendel...@gmail.com To: Amos Shapira amos.shap...@gmail.com On

Printing UTF-8 in C

2014-01-12 Thread Ori Idan
I need to print several Hebrew characters (UTF-8) to the terminal. My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal, however printing from C gives me Chinese characters. My question is how to print one character such as 'א' to the terminal. -- Ori Idan

Re: Printing UTF-8 in C

2014-01-12 Thread Eli Zaretskii
From: Ori Idan o...@helicontech.co.il Date: Sun, 12 Jan 2014 20:34:07 +0200 I need to print several Hebrew characters (UTF-8) to the terminal. My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal, however printing from C gives me Chinese characters. My question is how to

Re: Printing UTF-8 in C

2014-01-12 Thread Vassilii Khachaturov
On 12.01.2014 20:34, Ori Idan wrote: I need to print several Hebrew characters (UTF-8) to the terminal. My locale is set to he_IL.UTF-8 so it shows Hebrew on the terminal, however printing from C gives me Chinese characters. My question is how to print one character such as 'א' to the

Re: Printing UTF-8 in C

2014-01-12 Thread Dov Grobgeld
Writing hebrew to the terminal is a bad idea because terminals do not support BiDi reordering. That said, doing cat small-hello.utf8[1] works for me in gnome-term (though it is reversed). No special environment variables were defined. Regards, Dov [1]

Re: Printing UTF-8 in C

2014-01-12 Thread Baruch Siach
Hi Dov, On Sun, Jan 12, 2014 at 08:53:38PM +0200, Dov Grobgeld wrote: Writing hebrew to the terminal is a bad idea because terminals do not support BiDi reordering. That said, doing cat small-hello.utf8[1] works for me in gnome-term (though it is reversed). No special environment variables

Re: time report tool

2014-01-12 Thread Steve Litt
On Sun, 12 Jan 2014 15:08:13 +0200 Erez D erez0...@gmail.com wrote: hello i'm looking for an open source tool, prefferebly web based tool, that employees can report what they have worked on (i.e. this and this time on that task etc ...) i need this so i can extract information for

Re: Printing UTF-8 in C

2014-01-12 Thread Ori Idan
On Sun, Jan 12, 2014 at 9:02 PM, Baruch Siach bar...@tkos.co.il wrote: Hi Dov, On Sun, Jan 12, 2014 at 08:53:38PM +0200, Dov Grobgeld wrote: Writing hebrew to the terminal is a bad idea because terminals do not support BiDi reordering. That said, doing cat small-hello.utf8[1] works for

Re: Printing UTF-8 in C

2014-01-12 Thread Dov Grobgeld
The most unixy way is to treat everything as binary UTF-8 and then forget about encodings. The following program works just fine: #include stdio.h int main() { printf(Hello שלום!\n); } Compile with: cc -o hello hello.c ./hello Hello שלום! (Though שלום is inversed in the terminal). On

Re: Printing UTF-8 in C

2014-01-12 Thread Ori Idan
On Sun, Jan 12, 2014 at 9:26 PM, Dov Grobgeld dov.grobg...@gmail.comwrote: The most unixy way is to treat everything as binary UTF-8 and then forget about encodings. The following program works just fine: #include stdio.h int main() { printf(Hello שלום!\n); } Compile with: cc -o

Re: Printing UTF-8 in C

2014-01-12 Thread Dov Grobgeld
Create a list of all hebrew characters and dereference the list according to the index of the character. const char **alefbet = { \327\220, \327\221, : } printf(%s\n, alefbet[index]); // For index in 0..26 Am I missing something? Dov On Sun, Jan 12, 2014 at 9:29 PM, Ori Idan

Re: Printing UTF-8 in C

2014-01-12 Thread Omer Zak
You may want to review the following StackOverflow item: http://stackoverflow.com/questions/4607413/c-library-to-convert-unicode-code-points-to-utf8 One answer describes how to do it yourself. Another answer uses the iconv library. On Sun, 2014-01-12 at 21:29 +0200, Ori Idan wrote: On Sun,

Re: Printing UTF-8 in C

2014-01-12 Thread Eli Zaretskii
From: Ori Idan o...@helicontech.co.il Date: Sun, 12 Jan 2014 20:46:50 +0200 Is the C source stored on disk in UTF-8 encoding? ‎Yes but what's the difference? latin characters in UTF-8 are the same in latin1 encoding and UTF-8 No, Latin-1 and UTF-8 encodings for Latin characters are