Hide Forgot
Date of First Response: 2009-07-29 00:25:34 Help Desk Ticket Reference: https://enterprise.redhat.com/issue-tracker/320260 securitylevel_name: Public When deploying BRMS from trunk (https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/drools-5.1.0.SNAPSHOT-guvnor.zip) and trying to use the Chinese local (http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/Guvnor.html?locale=zh_CN), all characters display as question marks (see uploaded screenshot). Same version when japanese or any other supported locales are used works fine.
Attachment: Added: zhCNLocale.png
Help Desk Ticket Reference: Added: https://enterprise.redhat.com/issue-tracker/320260
Hello, any info on this issue? Thanks.
I can confirm that the Chinese version is not working anyway. It appears to me that the Constants_zh_CN.properties file was corrupted by some editors that are not unique code compatible (Constants_zh_CN.properties was working before). Can be a file encoding problem or like. But I have not figured out the exact problem yet. What I am going to now is re-creating this file from scratch instead of playing with the old problematic file. This will take a little time as there are 890 lines in this file. Copy and paste from the old file wont work. I have to input each line by myself... It will be fixed by EOB tomorrow.
Any ideas on what caused this? what commit corrupted it? The only time I update it is if an IDE such as IntelliJ does... need to make sure it doesn't happen again.
No idea...Spent half day tried to recover the current version of Constants_zh_CN.properties, no luck. SVN does not record the change of file encoding, which means I can not track change log to see which commit is to blame. Then I gave up and started a new file from scratch.
Can't you do a manual binary search with the version history of the Constants_zh_CN.properties - just keep trying until you find where it flipped form bad to good - I would like to know how it happened otherwise it will just happen again. I try to not commit any changes to the chinese or japanese versions (in fact only english, when I change the GUI).
Not reproducible with BRMS 5.0.2 CR1 build.
Attachment: Added: Screenshot.png
Hey Jervis, could you have a look at this? Some text might still be wrong, attaching screen1.png (see the squares in the left pane, not sure if this is a font or encoding problem on my side).
Attachment: Added: screen1.png
Hi Jaroslaw, have you selected the correct encoding? (GB2312) It works for me, see attached screen.
Attachment: Added: jervis'sversion.jpg
Jervis' screen shot proves it's fixed.