|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53521 Calendar Extension jewish.c Encoding
Submitted: 2010-12-11 20:10 UTC Modified: 2013-02-18 00:34 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: xiaomao5 at live dot com Assigned:
Status: No Feedback Package: Calendar related
PHP Version: 5.3.4 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: xiaomao5 at live dot com
New email:
PHP Version: OS:


 [2010-12-11 20:10 UTC] xiaomao5 at live dot com
char *JewishMonthHebName[14]'s content will have problem compiling on Windows using Visual C++ due to the Hebrew content is encoding in the Hebrew language, not UTF-8. The patch basically turn the file into utf-8


jewish-utf8 (last revision 2010-12-11 19:11 UTC by xiaomao5 at live dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-11 20:20 UTC]
-Status: Open +Status: Feedback
 [2010-12-11 20:20 UTC]
Wondering how you get compilation error as it works just fine for our builds. Mind to enlight me?
 [2010-12-11 20:28 UTC] xiaomao5 at live dot com
Possibly because I am using VC++10 or some software affect that because I have cygwin and mingw on my computer
 [2010-12-11 21:53 UTC]
There is nothing in vc10 that is different than VC9 in this area.

What's the language set in your settings?
 [2010-12-11 22:06 UTC] xiaomao5 at live dot com
Chinese encoding 936, however English one doesn't work either
 [2010-12-11 22:14 UTC]
As I said, works just fine here (vc9/10/6, english, german, French and Spanish windows localized). Check your config.
 [2010-12-11 22:15 UTC]
Btw, we can't change this encoding to UTF-8 for the fun of it, that'll break BC.
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 [2015-08-09 00:41 UTC] h dot yamagata at nifty dot com
I'm experiencing the same issue.
I think it's the default character set of the compiler.
Because I live in Japan, my VC9 is Japanese version.
The default character encoding of my VC9 (or my computer) is shift-JIS.
It's garbled and resulting in compilation error.
I have compiled php 5.3.29 and I can confirm the issue is still present in 5.6.12.

Anyway, if you use multi-byte characters, it's necessary for a global project to use UTF-8 (or specify "#pragma setlocale").
Thank you for your great work.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Jan 29 15:05:54 2023 UTC