PDA

View Full Version : KRANK and non-english characters


trustin
04-18-2005, 12:00 AM
Hi,

I'm developing an LZX application with quite complex form. I want to use KRANK to optimize startup-time of it, but it seems like KRANKed application breaks Asian characters. Is there any workarounds to fix this issue?

Thanks in advance,
Trustin

hqm
04-18-2005, 04:05 AM
Can you please post a short test case which shows the problem? It is quite possible that there is a data encoding conversion error somewhere in the process, that hasn't been tested for.

trustin
04-18-2005, 05:02 AM
I uploaded a simplistic test code and its screenshots (before and after KRANK) at:

http://gleamynode.net/krank.zip

The text is written in Korean, UTF-8. not_kranked.gif shows the right text and kranked.gif doesn't. I think you don't need to have any Korean fonts to test this because the characters kranked one prints out are all latin-1 characters.

Environment was MS Windows XP Korean Edition whose default charset is CP949 (a kind of EUC-KR).

Thanks for fast reply!
Trustin

hqm
04-18-2005, 06:30 AM
OK thanks, I was able to reproduce the bug. I am looking for the problem now.

trustin
04-20-2005, 06:49 AM
How's it going? Is this issue easy to fix?

- Trustin

hqm
04-20-2005, 07:04 AM
I checked a fix into our development tree. You can get it from the repository if you want to set up to compile from sources. It's not that hard to do, if you want to try... Otherwise I am not sure when the next release will be out with this fix, but it wouldn't be the 3.0 release, which is in the middle of QA now and due out very soon.

hqm
04-20-2005, 07:05 AM
We are planning to put up nightly development builds for people to download. That is coming soon, but I cannot give any date for exactly when it will be up and running.

trustin
04-20-2005, 08:21 AM
Thank you a lot for your help and fast reply. I'll try to build the recent snapshot soon.

Regards,
Trustin

trustin
04-21-2005, 08:36 PM
I checked out recent snaphot from SVN repository, and it works great. Thank you a lot for fast response and fix!

Regards,
Trustin

trustin
04-25-2005, 10:49 PM
LPS 3.0 is released, but it seems like the fix is not applied yet. When do you expect the fix is included in the official releases?

Thanks,
Trustin

hqm
04-26-2005, 03:46 AM
If it didn't make it into 3.0 that's up now, it's because they were too far along in their QA cycle to merge in late-breaking changes. There will be point releases from time to time containing incremental fixes. I am not sure when they have the next one scheduled for. I think it will be pretty soon though.

trustin
04-26-2005, 03:47 AM
Thank you again for your fast and accurate response. :)

pschrafl
07-24-2005, 10:24 AM
Hello,

I just had the same problem as trustin, as I wanted to krank my application that uses german umlauts. I then updated to OpenLaszlo 3.0.2, but still have the same errors, when I try to krank my application. So kranking seems to be useless, if you use non-english characters. Can anyone shed some light on this?

Thanks a lot,

Pascal

hqm
07-24-2005, 11:18 AM
3.02 is a patch release, and this fix isn't in there I guess. all other new features are only in the night build / dev tree

pschrafl
07-24-2005, 11:24 AM
Hello hqm,

Thanks for your answer. Can you perhaps tell me, when the next official release is scheduled? My application needs to be finished by the 3th of August 2005. Any chance to get the kranking feature to work by then?

Cheers,

Pascal

Originally posted by hqm
3.02 is a patch release, and this fix isn't in there I guess. all other new features are only in the night build / dev tree

hqm
07-24-2005, 11:33 AM
I think you will need to take your chances on the development tree, I don't think a full release is due out that soon.