Looks like both encoding and RTL checks.
I think the translation is non-UTF-8 (At least it was like that when I was working with .rc files).

Nowadays I believe that the PO should be UTF-8 so it shouldn't matter.

Kind regards,
Yaron Shahrabani
<Hebrew translator>


On Sun, Feb 17, 2013 at 11:52 AM, Francois Gouget <fgouget@free.fr> wrote:

I have noticed some test failures that only happen when I set the locale
and display language to Japanese and/or Hebrew in Windows 7. Let me know
if I should create bugs for these.


* comctl32:listview (Hebrew and Japanese)
������ listview.c:3822: Test failed: Expected 96, got 112
������ listview.c:4751: Test failed: Expected 96, got 112

������ Both correspond to the use of GetDeviceCaps(LOGPIXELSX) so something
������ must be wrong there:
������ todo_wine expect(((GetDeviceCaps(hdc, LOGPIXELSX) + 15) / 16) * 16, rect.right);
������ todo_wine expect(((GetDeviceCaps(hdc, LOGPIXELSX) + 15) / 16) * 16, ret);


* riched20:editor (Hebrew only)
������ editor.c:586: Test failed: EM_POSFROMCHAR reports x=5, expected 8
������ editor.c:609: Test failed: EM_POSFROMCHAR reports x=5, expected 8
������ editor.c:640: Test failed: pt.x = 117

������ All three are related to testing positions past the end of text.
������ Here the fact that Hebrew is RTL probably breaks the test.


* rpcrt4:rpc (Japanese only)
������ rpc.c:171: Test failed: DceErrorInqTextA(deviation...)

������ Based on the comment it does not seem surprising that this would
������ be language-specific:
������ ������ ������ ������ /* One for which FormatMessage should succeed but
������ ������ ������ ������ ������* DceErrorInqText should "fail"
������ ������ ������ ������ ������* 3814 is generally quite a long message
������ ������ ������ ������ ������*/


* shell32:progman_dde (Hebrew and Japanese)
������ progman_dde.c:377: Test failed: Window "?????" was not created in 45 seconds - assumed failure. [S_G:11]

������ Based on the 'S_G:11' this would correspond to this line:
������ ShowGroupTest(instance, hConv, "[ShowGroup(Startup,0)]", DMLERR_NO_ERROR, "Startup", StartupTitle, TRUE, DDE_TEST_SHOWGROUP|testnum++);


* shlwapi:ordinal (Hebrew only)
������ ordinal.c:1721: Test failed: expected (������������������ 16 ������������������������������������ 2013), got (??? 16 ?????? 2013)
������ ordinal.c:1729: Test failed: expected (������������������ 16 ������������������������������������ 2013), got (??? 16 ?????? 2013)
������ ordinal.c:1743: Test failed: expected (������������������ 16 ������������������������������������ 2013) got (??? 16 ?????? 2013) for date part
������ ordinal.c:1757: Test failed: expected (������������������ 16 ������������������������������������ 2013) got (??? 16 ?????? 2013) for date part
������ ordinal.c:1929: Test failed: expected (L"\05e9\05d1\05ea 16 \05e4\05d1\05e8\05d5\05d0\05e8 2013") got (L"\200f\05e9\05d1\05ea \200f16 \200f\05e4\05d1\05e8\05d5\05d0\05e8 \200f") for date part
������ ordinal.c:1955: Test failed: expected (L"\05e9\05d1\05ea 16 \05e4\05d1\05e8\05d5\05d0\05e8 2013") got (L"\200f\05e9\05d1\05ea \200f16 \200f\05e4\05d1\05e8\05d5\05d0\05e8 \200f") for date part

������ Note that while the above test was run with a Hebrew locale and
������ display language, I get similar errors when running the test in the
������ Japanese locale with the French display language:
������ ordinal.c:1721: Test failed: expected (2013 N2 ������16 ������), got (2013?2?16?)
������ ordinal.c:1729: Test failed: expected (2013 N2 ������16 ������), got (2013?2?16?)
������ ordinal.c:1743: Test failed: expected (2013 N2 ������16 ������) got (2013?2?16?, 8) for date part
������ ordinal.c:1757: Test failed: expected (2013 N2 ������16 ������) got (2013?2?16?, 8) for date part


--
Francois Gouget <fgouget@free.fr> ������ ������ ������ ������ ������ ������ ������http://fgouget.free.fr/
������ ������ ������ ������ ������ ������ ������ E-Voting: It's not the people who vote that count.
������ ������ ������ ������ ������ ������ ������ ������ ������ ������ ������It's the people who count the votes.