$ hexdump -C reverse.cpp | head -n 1
00000000 ef bb bf 23 69 6e 63 6c 75 64 65 20 3c 69 6f 73 |...#include <ios|
[~/d/test]
$ g++ --version | grep g++
g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
[~/d/test]
$ g++ -exec-charset:ISO−8859−1 -std=c++0x reverse.cpp
reverse.cpp: In function ‘int main()’:
reverse.cpp:14:9: error: static assertion failed: "sizeof( aSingleChar ) - 1 == 1"
[~/d/test]
$ _