Thread: Non-English characters with cout

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #16
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Thanks, that cleared up some confusions.(without delving into the low levels)

    So, as long as everything is..say.. UTF-8 (as it is in my case), can I make a program language independent simple by maintaining a resource 'dictionary' for all the literals being used ?

    But I can't understand where the encoding of the compiled executable factors into this.
    Why does it matter when the other encoding is simply another data type ?
    For example, shouldn't I be able to do file IO with

    "basic_ifstream<char16_t>" , "basic_ofstream<char16_t>" , etc. irrespective of how the executable was made ?
    Last edited by manasij7479; 01-30-2012 at 10:04 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. fread + non-english characters
    By Elysia in forum C++ Programming
    Replies: 25
    Last Post: 04-20-2010, 01:43 PM
  2. Implementing a English-Spanish/Spanish-English Dictionary
    By invertedMirrors in forum C Programming
    Replies: 4
    Last Post: 02-23-2008, 03:48 PM
  3. std::cout or using namespace std or using std::cout
    By ComDriver in forum C++ Programming
    Replies: 13
    Last Post: 01-31-2005, 11:54 AM
  4. Whats the difference between cout and std::cout?
    By mdshort in forum C++ Programming
    Replies: 10
    Last Post: 12-30-2003, 05:34 PM
  5. Replies: 4
    Last Post: 06-22-2002, 01:00 PM