Thank you a lot, Egmont, of course you're 100% right with that. Massive
thanks for helping with fixing in via .bashrc, too.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/1360419
For those who interested for code solution - here it is:
#include
#include //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")
All works fine because Egmont Koblinger kindly offered a working
solution.
** Changed in: gnome-terminal (Ubuntu)
Assignee: (unassigned) => Ivan Zouboff (anotherdiskmag)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gn
Egmont, thanks a lot, man, you're made my day!
Yeah, the problem was there: in gnome-terminal "stty -a" reports
"-iutf8" by default, while on XTerm, UXTerm and LXTerminal it reports
"iutf8" by default. Command "stty iutf8" getting gnome-teminal back on
right way!
Sadly, I don't know why this situ
Public bug reported:
I'm writing C applications for Ubuntu and I've find out interesting bug.
That's a short program showing what's wrong. It reads a line from user
and writes that line.
"#include
void main()
{
char buffer[1024];
for (;;) {
fgets(buffer, sizeof buffer-1, stdin);
5 matches
Mail list logo