1. gets(0) and national characters
- Posted by martin.stachon at worldonline.cz Jul 16, 2001
- 453 views
This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C10DEC.0312EF20 charset="iso-8859-2" Hello, why doesn't gets(0) allow typing national characters ? ( in my case "=EC=B9=E8=F8=BE=FD=E1=ED=E9=F9=FA" ) I've seen non-Euphoria programs that allows this. ___ Regards, Martin Stachon martin.stachon at worldonline.cz http://www.webpark.cz/stachon ------=_NextPart_000_0005_01C10DEC.0312EF20 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-2" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3D"Arial CE" size=3D2>Hello,</FONT></DIV> <DIV><FONT face=3D"Arial CE" size=3D2>why doesn't gets(0) allow typing = national=20 characters ?</FONT></DIV> <DIV><FONT face=3D"Arial CE" size=3D2>( in my case = "=EC=B9=E8=F8=BE=FD=E1=ED=E9=F9=FA" )</FONT></DIV> <DIV><FONT face=3D"Arial CE" size=3D2>I've seen non-Euphoria programs = that allows=20 this.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Arial CE" size=3D2>___<BR>Regards,<BR>Martin = Stachon<BR><A=20 href=3D"mailto:martin.stachon at worldonline.cz">martin.stachon at worldonline.= cz</A><BR><A=20 href=3D"http://www.webpark.cz/stachon">http://www.webpark.cz/stachon</A><= ------=_NextPart_000_0005_01C10DEC.0312EF20--
2. Re: gets(0) and national characters
- Posted by Igor Kachan <kinz at peterlink.ru> Jul 16, 2001
- 439 views
3. Re: gets(0) and national characters
- Posted by martin.stachon at worldonline.cz Jul 17, 2001
- 419 views
4. Re: gets(0) and national characters
- Posted by Kat <gertie at PELL.NET> Jul 17, 2001
- 412 views
On 17 Jul 2001, at 19:22, martin.stachon at worldonline.cz wrote: <snip=lots of good info from:> > > Igor Kachan > > Thanks, > but I have got such lines in autoexec, > and the national chars works for DOS (ex) > but not with EXW. I have got Czech Windows and my > keyboard layout is set to Czech. <Mission Impossible Scenario> I know this is really unfair in a way, but can Martin or Igor or someone else write a bit of Eu code to do this? That way, the programmer could run the program, specify the language needed, and the computer will be all set up for displaying and inputting the native charset in dos, windows, and linux. I know you can't wait on Micro$oft to do it, and they'd get it wrong anyhow. If possible, if you do this, could you make it able to set up *any* language for which there is a codepage? Then you'll be writing a preprocessor to convert all the Eu words like "FOR" to "ÈÁÎ" and "KVULI". Kat
5. Re: gets(0) and national characters
- Posted by Igor Kachan <kinz at peterlink.ru> Jul 17, 2001
- 431 views
Hi Martin, > Thanks, > but I have got such lines in autoexec, > and the national chars works for DOS (ex) > but not with EXW. I have got Czech Windows and my > keyboard layout is set to Czech. Yes, it seems, this is Windows's plus exw.exe feature, when you use *console window*, you can not switch keyboard's layout to national one. So, it seems, you must restart Windows in pure MS DOS text mode, or run *non-console* pure Win application, if you want national chars with Eu. When *other text mode* Win program run (FAR for example), it is possible to switch code page and keyboard layout, if window is on *full screen* or if window is normal (big). Then national code page and keyboard's layout are correct. But if window is minimal, code page is *incorrect*, not national, but keyboard's layout is switchable onto 128..255 chars. You can see the very strange things via Windows. )-: There is no more detailed info about this question in my books, sorry. Regards, Igor Kachan kinz at peterlink.ru
6. Re: gets(0) and national characters
- Posted by Gerardo <gebrandariz at YAHOO.COM> Jul 17, 2001
- 416 views
Igor, ----- Original Message ----- From: "Igor Kachan" <kinz at peterlink.ru> To: "EUforum" <EUforum at topica.com> Subject: Re: gets(0) and national characters > Hi Martin, > > > Thanks, > > but I have got such lines in autoexec, > > and the national chars works for DOS (ex) > > but not with EXW. I have got Czech Windows and my > > keyboard layout is set to Czech. > > Yes, it seems, this is Windows's plus exw.exe feature, > when you use *console window*, you can not switch > keyboard's layout to national one. The DOS commands mode and keyb are usually included in your autoexec.bat, but they can also run from the command line any time you like. You might put them in a something.bat you'd run every time you open a console. > You can see the very strange things via Windows. )-: Well, to be fair, HAL got it worse still. > Regards, > Igor Kachan > kinz at peterlink.ru Gerardo
7. Re: gets(0) and national characters
- Posted by martin.stachon at worldonline.cz Jul 18, 2001
- 422 views
8. Re: gets(0) and national characters
- Posted by Igor Kachan <kinz at peterlink.ru> Jul 18, 2001
- 423 views
9. Re: gets(0) and national characters
- Posted by martin.stachon at worldonline.cz Jul 20, 2001
- 433 views
10. Re: gets(0) and national characters
- Posted by Igor Kachan <kinz at peterlink.ru> Jul 20, 2001
- 411 views