Characters encoding

This is a discussion on Characters encoding within the C Programming forums, part of the General Programming Boards category; Hello. I know I cant insert a "˝" is a string doing "Espa31a". Where can I find all this conversion. ...

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    38

    Characters encoding

    Hello.

    I know I cant insert a "˝" is a string doing "Espa\303\261a". Where can I find all this conversion. For example, how can I do to insert an Horizontal Tab in a string?.

    Thanks for your help.

  2. #2
    Aia
    Aia is offline
    Beautiful to C Aia's Avatar
    Join Date
    Jun 2007
    Posts
    124
    \t
    Viva Espa˝a. Pero que no viva tan lejos.
    When the eagles are silent, the parrots begin to jabber. ~Winston Churchill

  3. #3
    Registered User
    Join Date
    Sep 2007
    Posts
    38
    Ok.

    But what if I want to do this:

    printf("Hablo <TAB> Espa\303\261ol"); ?

  4. #4
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    printf("Hablo\tEspa...All the rest");

  5. #5
    Aia
    Aia is offline
    Beautiful to C Aia's Avatar
    Join Date
    Jun 2007
    Posts
    124
    Quote Originally Posted by guillermoh View Post
    Ok.

    But what if I want to do this:

    printf("Hablo <TAB> Espa\303\261ol"); ?
    printf( "Hablo\tEspa%col", 164 );
    When the eagles are silent, the parrots begin to jabber. ~Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 11:39 PM
  2. Replies: 10
    Last Post: 07-10-2008, 04:45 PM
  3. How do you check how many characters a user has entered?
    By engstudent363 in forum C Programming
    Replies: 5
    Last Post: 04-08-2008, 07:05 AM
  4. Encoding charset to use card suits ASCII characters
    By Nazgulled in forum C Programming
    Replies: 23
    Last Post: 06-10-2007, 07:19 PM
  5. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 05:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21