For those who interested for code solution - here it is: #include <stdio.h> #include <stdlib.h> //contains system() function
void main() { char buffer[1024]; /*executing of command "stty iutf" in shell before input begins. this command means "assume input characters are UTF-8 encoded".*/ if (system("stty iutf8") == -1) printf("system() error!\n"); for (;;) { fgets(buffer, sizeof buffer-1, stdin); printf("%s\n", buffer); } } -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/1360419 Title: Buffer containing russian Unicode charecters is not cleaning after pressing Backspace To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1360419/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs