Menu

Problem with croatian letters

noname
2010-09-10
2012-09-26
  • noname

    noname - 2010-09-10

    Hey to all,i have huge problem which,I'm sure,has a simple solution. :)

    I'm having trouble displaying croatian letters in printf line..
    Since i cannot write letter č or š or đ etc directly (because all i get are
    strange signs),i have to do it through ANSII codes..which for letter č is159
    (I think).

    printf("Upi%ci re%cenicu:\n",sh,ch); //"Upiši rečenicu" means basically "write
    a sentence" ;)
    gets(rec);

    ...in which ch=159 and sh=231
    This used to work year ago when i was doing this for something,and now even
    that won't work and I don't know why...
    So do I have to do something in the options tab?I don't get it why it wont
    accept not even here or in terminal these letters..

    Thanks,and sorry if this is too simple/already answered,but i wasn't able to
    find it..

     
  • noname

    noname - 2010-09-10

    Oh yes,i have Win xp and devcpp 4.9.9.2.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.