I would like to save a text file in Shift-Jis format but by default the file is always save in UTF-8.
I'm using fopen, fput and fclose to create and work with that file, but I don't think that there is any parameter for those functions which can modified the format of the saved data.
Another option would be after having the file saved in UTF-8 format, make a conversion to JIS, but no idea how to do that.
Btw, my OS is Debian Linux, for programming I'm using C on Anjuta.
Any help is welcome.
P.S.: Sorry for my poor English :S