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

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

      1. <tfoot id='zMihw'></tfoot>

        setlocale(LC_ALL, 'en_GB.UTF8') 不适用于 Windows

        时间:2023-10-03
          <i id='ZBkh6'><tr id='ZBkh6'><dt id='ZBkh6'><q id='ZBkh6'><span id='ZBkh6'><b id='ZBkh6'><form id='ZBkh6'><ins id='ZBkh6'></ins><ul id='ZBkh6'></ul><sub id='ZBkh6'></sub></form><legend id='ZBkh6'></legend><bdo id='ZBkh6'><pre id='ZBkh6'><center id='ZBkh6'></center></pre></bdo></b><th id='ZBkh6'></th></span></q></dt></tr></i><div id='ZBkh6'><tfoot id='ZBkh6'></tfoot><dl id='ZBkh6'><fieldset id='ZBkh6'></fieldset></dl></div>
          <legend id='ZBkh6'><style id='ZBkh6'><dir id='ZBkh6'><q id='ZBkh6'></q></dir></style></legend>

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

            <tfoot id='ZBkh6'></tfoot>
                <tbody id='ZBkh6'></tbody>
                <bdo id='ZBkh6'></bdo><ul id='ZBkh6'></ul>

                • 本文介绍了setlocale(LC_ALL, 'en_GB.UTF8') 不适用于 Windows的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  为什么 setlocale(LC_ALL, 'en_GB.UTF8'); 在 Windows Server 2003 R2 - Zend CE PHP 5.3.5 上返回 false ?

                  Why does setlocale(LC_ALL, 'en_GB.UTF8'); return false on Windows Server 2003 R2 - Zend CE PHP 5.3.5 ?

                  有问题的函数:setlocale.

                  Function in question: setlocale.

                  推荐答案

                  来自 PHP 手册:

                  setlocale() 的返回值取决于 PHP 运行的系统.它准确返回系统 setlocale 函数返回的内容.

                  The return value of setlocale() depends on the system that PHP is running. It returns exactly what the system setlocale function returns.

                  因此,在您的情况下,它返回 false,因为系统返回 false.您使用的区域设置可能在您的系统上不可用.

                  So in your case it returns false because the system returns false. It is likely that the locale you're using is not available on your system.

                  Windows 支持的 setlocale 字符串列表可用 此处.对于英式英语,您需要 engenglish-ukuk.不过,Windows 不支持像 UTF-8 这样的多字节字符集;您可能最终会使用 Windows-1252.

                  A list of setlocale strings supported by Windows is available here. For British English you want eng, english-uk, or uk. Windows doesn't support multi-byte character sets like UTF-8 though; you will probably end up with Windows-1252.

                  这篇关于setlocale(LC_ALL, 'en_GB.UTF8') 不适用于 Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

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

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

                          <tbody id='gqGGo'></tbody>
                          <bdo id='gqGGo'></bdo><ul id='gqGGo'></ul>