How do you know you don't have that locale? It may not be the locale itself, but maybe some ISO table that recognizes fr-CH as a locale id. The error in the failing test seems to be associated with the currencyStringError.
I think the character display is not related. Your editor either is set up to use a font with those chars or not. But the bytes in the file are probably the right ones. In the FDB debugger on the mac I get ????????!!! but I'll bet the char codes are correct. -Alex On 1/6/14 12:47 PM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote: >On Jan 6, 2014 12:25 PM, "Alex Harui" <aha...@adobe.com> wrote: >> >> I looked at it a bit more and have another guess. This test file tries >>to >> assign all kinds of weird locales to the validators. In test 29, it is >> assigning fr-CH. >> >> My guess is that the fr-CH locale is not installed on that machine. > >My question is why is it passing in my machine? I obviously don't have >that locale in my machine. Whereas, in the VM that it fails, it does seem >to at least display the characters correctly. > >I will see if I can install that locale on that VM. > > >> >> -Alex >> >> On 1/6/14 12:10 PM, "Alex Harui" <aha...@adobe.com> wrote: >> >> >Is it only one test in this file? It looks like other tests >>successfully >> >test for the chinese text? >> > >> >-Alex >> > >> >On 1/6/14 11:51 AM, "OmPrakash Muppirala" <bigosma...@gmail.com> wrote: >> > >> >>The test in question is: >> >> >> >> >> >>>spark/validators/CurrencyValidator/Methods/CV_validate_error_message_loc >>>a >> >>l >> >>ized_tester >> >> >> >>On my local machine, this test passes, but on my new VM, this fails. >> >> >> >>The problem is that on my local machine, it appears that the required >> >>(Chinese?) fonts are missing. Yet, somehow the test passes. Look at >> >>screenshot [1] >> >> >> >>On the VM, the test fails, but it appears that the Chinese text seems >>to >> >>be >> >>there. Screenshot [2] >> >> >> >>Is this a case of tests passing because they render the fonts >incorrectly >> >>in the same way? And it fails when the font is actually available? >> >> >> >>Any ideas? >> >> >> >>Thanks, >> >>Om >> >> >> >>[1] http://snag.gy/61l8J.jpg (invalid characters, test passes) >> >>[2] http://snag.gy/t5PKu.jpg (valid characters, test fails) >> > >>