Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


working with japanese filenames in php 5 3 and windows vista using -'php,windows,unicode,utf-8'


working with japanese filenames in php 5 3 and windows vista  using -'php,windows,unicode,utf-8'

I'm currently trying to write a simple script that looks in a folder, and returns a list of all the file names in an RSS feed. However I've hit a major wall... Whenever I try to read filenames with Japanese characters in them, it shows them as ?'s. I've tried the solutions mentioned here: http://stackoverflow.com/questions/482342/php-readdir-problem-with-japanese-language-file-name - however they do not work for some reason, even with:

header('Content-Type: text/html; charset=UTF-8');
setlocale(LC_ALL, 'en_US.UTF8');
mb_internal_encoding("UTF-8");


At the top (Exporting as plain text until I can sort this out).

What can I do? I need this to work and I don't have much time.
    

asked Sep 8, 2015 by rajesh
0 votes
9 views



Related Hot Questions



Government Jobs Opening


...