Thread: Problem reading extra characters using ReadConsoleOutputCharacter

  1. #1
    Registered User Al3's Avatar
    Join Date
    Nov 2014
    Posts
    135

    Problem reading extra characters using ReadConsoleOutputCharacter

    I hate Microsoft and the way they do everything.
    I found that functions such as ReadConsoleOutputCharacter will not copy extra characters (non-standard) but will copy ? instead.


    I think this problem occurs due to a non-encoded charset.
    And the function SetConsoleOutputOuputCP for example might fix it.. But I don't know how. I tried with UTF-32 and it still doesn't work


    On the other hand, if I change the console font to "Consolas" or "Lucida Console" neither of these matter and characters are all well encoded.


    Help
    P.M ..Actually I am not laughing IRL. It isn't funny at all.
    Last edited by Al3; 01-24-2015 at 01:07 PM.

  2. #2
    Lurker
    Join Date
    Dec 2004
    Posts
    296
    First, we have no clue what your problem is and we have no code to look at.

    If you want help on this forum, then I suggest you post your current code, inside code tags and properly indented. Make sure that it compiles without warnings or errors, unless you want to ask about specific warnings or errors.

    You should also be aware that if you use non-portable constructs, then people will probably pass and move to another thread. At least I know that I pass on almost all code that I can't paste into a buffer and compile, unless the code or problem is very interesting. Hint, your code is probably neither as is almost no code I see posted here. I'm here to help because I enjoy helping, but I do it on my spare time, so I feel free to pass on things that annoy me.

  3. #3

  4. #4
    Registered User Al3's Avatar
    Join Date
    Nov 2014
    Posts
    135
    Quote Originally Posted by Jimmy View Post
    First, we have no clue what your problem is and we have no code to look at.

    If you want help on this forum, then I suggest you post your current code, inside code tags and properly indented. Make sure that it compiles without warnings or errors, unless you want to ask about specific warnings or errors.

    You should also be aware that if you use non-portable constructs, then people will probably pass and move to another thread. At least I know that I pass on almost all code that I can't paste into a buffer and compile, unless the code or problem is very interesting. Hint, your code is probably neither as is almost no code I see posted here. I'm here to help because I enjoy helping, but I do it on my spare time, so I feel free to pass on things that annoy me.
    It is your problem you can't understand what my problem is, since it is clearly described.
    I don't have to post a code for that, neither I can post it, neither I would post it.
    And okay. If you want to pass a thread you don't have to give me a warning for it, just pass it.
    I don't need your help. As @Codeplug helped already and it was an actual help, not a pointless off-topic dramatic lecture.

  5. #5
    Lurker
    Join Date
    Dec 2004
    Posts
    296
    Quote Originally Posted by Al3 View Post
    It is your problem you can't understand what my problem is, since it is clearly described.
    I don't have to post a code for that, neither I can post it, neither I would post it.
    And okay. If you want to pass a thread you don't have to give me a warning for it, just pass it.
    I don't need your help. As @Codeplug helped already and it was an actual help, not a pointless off-topic dramatic lecture.
    Lol, you clearly don't get my point, so I do what I usually do with people like that. I use the ignore list. Have fun!

  6. #6
    Registered User Al3's Avatar
    Join Date
    Nov 2014
    Posts
    135
    Quote Originally Posted by Jimmy View Post
    Lol, you clearly don't get my point, so I do what I usually do with people like that. I use the ignore list. Have fun!
    You are soo dependent by your emotional feelings. You are probably a young guy without experience in the professional programming environment. Use whatever you want.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. storing a name with no extra characters
    By litzkrieg in forum C Programming
    Replies: 1
    Last Post: 02-25-2011, 12:43 PM
  2. Extra characters with
    By computerquip in forum C Programming
    Replies: 4
    Last Post: 09-29-2010, 03:57 PM
  3. Extra Characters
    By david84 in forum C++ Programming
    Replies: 4
    Last Post: 09-23-2010, 10:41 AM
  4. Extra characters in string
    By Tigers! in forum C Programming
    Replies: 10
    Last Post: 07-28-2009, 11:48 PM
  5. Handling Extra Characters
    By hern in forum C Programming
    Replies: 3
    Last Post: 02-21-2004, 10:40 PM