1. <legend id='Ds1xu'><style id='Ds1xu'><dir id='Ds1xu'><q id='Ds1xu'></q></dir></style></legend>

      <small id='Ds1xu'></small><noframes id='Ds1xu'>

      <i id='Ds1xu'><tr id='Ds1xu'><dt id='Ds1xu'><q id='Ds1xu'><span id='Ds1xu'><b id='Ds1xu'><form id='Ds1xu'><ins id='Ds1xu'></ins><ul id='Ds1xu'></ul><sub id='Ds1xu'></sub></form><legend id='Ds1xu'></legend><bdo id='Ds1xu'><pre id='Ds1xu'><center id='Ds1xu'></center></pre></bdo></b><th id='Ds1xu'></th></span></q></dt></tr></i><div id='Ds1xu'><tfoot id='Ds1xu'></tfoot><dl id='Ds1xu'><fieldset id='Ds1xu'></fieldset></dl></div>
      <tfoot id='Ds1xu'></tfoot>

        • <bdo id='Ds1xu'></bdo><ul id='Ds1xu'></ul>

        在 PHP 5.3 和 Windows Vista 中使用日语文件名?

        时间:2023-10-03

          <small id='h2X8I'></small><noframes id='h2X8I'>

            <tbody id='h2X8I'></tbody>
        • <tfoot id='h2X8I'></tfoot>

            1. <legend id='h2X8I'><style id='h2X8I'><dir id='h2X8I'><q id='h2X8I'></q></dir></style></legend>
                <bdo id='h2X8I'></bdo><ul id='h2X8I'></ul>
                <i id='h2X8I'><tr id='h2X8I'><dt id='h2X8I'><q id='h2X8I'><span id='h2X8I'><b id='h2X8I'><form id='h2X8I'><ins id='h2X8I'></ins><ul id='h2X8I'></ul><sub id='h2X8I'></sub></form><legend id='h2X8I'></legend><bdo id='h2X8I'><pre id='h2X8I'><center id='h2X8I'></center></pre></bdo></b><th id='h2X8I'></th></span></q></dt></tr></i><div id='h2X8I'><tfoot id='h2X8I'></tfoot><dl id='h2X8I'><fieldset id='h2X8I'></fieldset></dl></div>

                  本文介绍了在 PHP 5.3 和 Windows Vista 中使用日语文件名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我目前正在尝试编写一个在文件夹中查找的简单脚本,并返回 RSS 提要中所有文件名的列表.但是,我遇到了主要问题...每当我尝试读取包含日文字符的文件名时,它都会将它们显示为 ?'s.我已经尝试过这里提到的解决方案:php readdir question with japanese language file名称 - 但是由于某种原因它们不起作用,即使是:

                  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: 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.

                  推荐答案

                  您可以在 PHP 中完成.编写一个小的 C 程序来读取目录并从 PHP 调用该程序.

                  You can do it in PHP. Write a small C program to read directories and call that program from PHP.

                  另见:http://en.literateprograms.org/Directory_listing_(C,_Windows)http://www.daniweb.com/forums/thread74944.htmlhttp://forums.devshed.com/c-programming-42/reading-a-directory-in-windows-36169.html

                  这篇关于在 PHP 5.3 和 Windows Vista 中使用日语文件名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:如何让 MySQL 返回 UTF-8? 下一篇:如何在浏览器中强制使用 UTF-8 编码?

                  相关文章

                  最新文章

                    <tfoot id='yHIiz'></tfoot>

                    <legend id='yHIiz'><style id='yHIiz'><dir id='yHIiz'><q id='yHIiz'></q></dir></style></legend>

                  1. <i id='yHIiz'><tr id='yHIiz'><dt id='yHIiz'><q id='yHIiz'><span id='yHIiz'><b id='yHIiz'><form id='yHIiz'><ins id='yHIiz'></ins><ul id='yHIiz'></ul><sub id='yHIiz'></sub></form><legend id='yHIiz'></legend><bdo id='yHIiz'><pre id='yHIiz'><center id='yHIiz'></center></pre></bdo></b><th id='yHIiz'></th></span></q></dt></tr></i><div id='yHIiz'><tfoot id='yHIiz'></tfoot><dl id='yHIiz'><fieldset id='yHIiz'></fieldset></dl></div>

                    1. <small id='yHIiz'></small><noframes id='yHIiz'>

                        <bdo id='yHIiz'></bdo><ul id='yHIiz'></ul>