I copied and pasted the C code as:
int main(void)
{
statements
return 0;
}
to org's babel code block, when strike C-c C-c, it report error:
/tmp/babel-uaYVXU/C-src-Pd1SZs.c:11:6: error: stray ‘\240’ in program
11 | statements
| ^
/tmp/babel-uaYVXU/C-src-Pd1SZs.c:12:1: error: stray ‘\302’ in program
12 | return 0;
| ^
Then I have to create a new file and employ iconv to tackle the problem as:
iconv -f utf-8 -t ascii//translit input.c > output.
Is it possible to use iconv directly on the region of selected codes?
C-u M-x shell-command-on-region
?