[ create a new paste ] login | about

Link: http://codepad.org/vIa5Byya    [ raw code | fork ]

Plain Text, pasted on Jun 6:
zokier@lakka:/tmp/hn-utf8$ cat utf8.cpp
#include<iostream>

int main(int argc, char* args[]) {
        std::cout << "I have €100 to my name." << std::endl;

        return 0;
}
zokier@lakka:/tmp/hn-utf8$ file utf8.cpp
utf8.cpp: UTF-8 Unicode text
zokier@lakka:/tmp/hn-utf8$ locale
LANG=en_US.UTF-8
LC_CTYPE=fi_FI.utf8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
zokier@lakka:/tmp/hn-utf8$ g++ utf8.cpp
zokier@lakka:/tmp/hn-utf8$ ./a.out
I have €100 to my name.
zokier@lakka:/tmp/hn-utf8$ uname -a
Linux lakka 2.6.24.5-grseckapsi-ha #2 SMP Thu Apr 24 20:02:04 EEST 2008 x86_64 GNU/Linux
zokier@lakka:/tmp/hn-utf8$



Create a new paste based on this one


Comments: