int file = open("utf8.txt", "w", "UTF-8"); write(file, "ABCDE!"); close(file);