Re: I/O with Spanish words
From: Phlip (phlip_cpp_at_yahoo.com)
Date: 06/04/04
- Next message: Jinjun Xu: "Re: about head file/source file"
- Previous message: Julie: "Re: I/O with Spanish words"
- In reply to: solartimba: "I/O with Spanish words"
- Next in thread: Robbie Hatley: "Re: I/O with Spanish words"
- Reply: Robbie Hatley: "Re: I/O with Spanish words"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 04 Jun 2004 16:53:11 EDT
solartimba wrote:
> I need to read Spanish words from a file and print them to the screen.
> Is there a C++ header file that allows foreign words? Is the problem
> C or the OS? (I am the only person that will use this program)
What problem are you having?
At a guess, your "screen" is your console, which uses a different character
set than MS Windows proper (or similar GUIs). The Desktop uses ISO 8859-1
Latin, where most Spanish is written, and the console (or "Command Prompt")
uses IBM Code Page 437. Here's my console's mode:
>mode
Status for device CON:
----------------------
Lines: 300
Columns: 120
Keyboard rate: 31
Keyboard delay: 1
Code page: 437
A forum that discusses internationalization will know how to the 'mode'
command built-into CMD.EXE to change the code page. This is probably a
frequently asked question, so start with Google.
-- Phlip http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces
- Next message: Jinjun Xu: "Re: about head file/source file"
- Previous message: Julie: "Re: I/O with Spanish words"
- In reply to: solartimba: "I/O with Spanish words"
- Next in thread: Robbie Hatley: "Re: I/O with Spanish words"
- Reply: Robbie Hatley: "Re: I/O with Spanish words"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|