Клавиатура, Utf-8

From Ilianko
Revision as of 14:34, 4 April 2011 by Anko (talk | contribs)

Unicode, ISO 10646, Universal Character Set

Какво е Utf-8?

Добавяне на език за въвеждане в Linux

.

#include <stdio.h>
  #include <locale.h>

  int main()
  {
   if (!setlocale(LC_CTYPE, "")) {
      fprintf(stderr, "Can't set the specified locale! "
              "Check LANG, LC_CTYPE, LC_ALL.\n");
      return 1;
    }
    printf("%ls\n", L"sadsada хгфгфхгфхгф гйхг Schöne ளிலே தமிழ்மொழி போல் இனிதாவது எங்கGrüße");
    return 0;
  }