Thread: Characters encoding

  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
    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
    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, 10:39 PM
  2. Replies: 10
    Last Post: 07-10-2008, 03: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, 06:05 AM
  4. Encoding charset to use card suits ASCII characters
    By Nazgulled in forum C Programming
    Replies: 23
    Last Post: 06-10-2007, 06:19 PM
  5. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM