* 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307 USA. *
***************************************************************************/
+#include <compat/fopen_utf8.h>
+
/*
* SIO functions.
*/
if (*str == 0)
return;
- f = fopen(str, "rb");
+ f = fopen_utf8(str, "rb");
if (f == NULL) {
SysPrintf(_("The memory card %s doesn't exist - creating it\n"), str);
CreateMcd(str);
- f = fopen(str, "rb");
+ f = fopen_utf8(str, "rb");
if (f != NULL) {
struct stat buf;
if (mcd == NULL || *mcd == 0 || strcmp(mcd, "none") == 0)
return;
- f = fopen(mcd, "r+b");
+ f = fopen_utf8(mcd, "r+b");
if (f != NULL) {
struct stat buf;
int s = MCD_SIZE;
int i = 0, j;
- f = fopen(mcd, "wb");
+ f = fopen_utf8(mcd, "wb");
if (f == NULL)
return;