thai-language.comInternet resource
for the Thai language
Lookup:
» more options here
Browse

F.A.Q. Check out the list of frequently asked questions for a quick answer to your inquiry

e-mail the author
guestbook
site settings
site news
bulk lookup
Bangkok
Thanks for your

recent donations!

Narisa N. $+++!
John A. $+++!
Paul S. $100!
Mike A. $100!
Eric B. $100!
John Karl L. $100!
Don S. $100!
John S. $100!
Peter B. $100!
Ingo B $50
Peter d C $50
Hans G $50
Alan M. $50
Rod S. $50
Wolfgang W. $50
Bill O. $70
Ravinder S. $20
Chris S. $15
Jose D-C $20
Steven P. $20
Daniel W. $75
Rudolf M. $30
David R. $50
Judith W. $50
Roger C. $50
Steve D. $50
Sean F. $50
Paul G. B. $50
xsinventory $20
Nigel A. $15
Michael B. $20
Otto S. $20
Damien G. $12
Simon G. $5
Lindsay D. $25
David S. $25
Laurent L. $40
Peter van G. $10
Graham S. $10
Peter N. $30
James A. $10
Dmitry I. $10
Edward R. $50
Roderick S. $30
Mason S. $5
Henning E. $20
John F. $20
Daniel F. $10
Armand H. $20
Daniel S. $20
James McD. $20
Shane McC. $10
Roberto P. $50
Derrell P. $20
Trevor O. $30
Patrick H. $25
Rick @SS $15
Gene H. $10
Aye A. M. $33
S. Cummings $25
Will F. $20
Get e-mail

Sign-up to join our mail­ing list. You'll receive e­mail notification when this site is updated. Your privacy is guaran­teed; this list is not sold, shared, or used for any other purpose. Click here for more infor­mation.

To unsubscribe, click here.

Thai speaker needed to confirm correct display in Flash

Browser/website issues and working with Thai sound and video clips

Moderator: acloudmovingby

Thai speaker needed to confirm correct display in Flash

Postby vpower » Tue May 24, 2011 6:23 pm

Hello,
I'm working on an actionscript that will display Thai dynamic text correctly. It uses the unicode zero-width space between words in the dynamic text to wrap the ends of lines without breaking up words.
I'm wondering if someone who knows Thai can confirm for me whether it's working. I've attached a screenshot. On the left side is the correct (hopefully!) version and on the right is a version that will just wrap wherever, even in the middle of a word.
I'm hoping to get the answer in the next 12 hours or so, so thanks in advance for your help! :D
VP
Attachments
thaiwrap.jpg
thaiwrap.jpg (40.18 KiB) Viewed 31578 times
vpower
 
Posts: 3
Joined: Tue May 24, 2011 5:34 pm

Re: Thai speaker needed to confirm correct display in Flash

Postby simonbournemouth » Tue May 24, 2011 6:28 pm

It works. :)
User avatar
simonbournemouth
 
Posts: 1324
Joined: Sat Sep 15, 2007 12:00 am
Location: Bournemouth, England

Re: Thai speaker needed to confirm correct display in Flash

Postby vpower » Tue May 24, 2011 6:29 pm

wow, I couldn't ask for a quicker answer! Thanks!!
vpower
 
Posts: 3
Joined: Tue May 24, 2011 5:34 pm

Re: Thai speaker needed to confirm correct display in Flash

Postby pensive » Thu May 26, 2011 1:30 am

To prove it, though, I think you should see how it splits words with preposed vowels. For example, does it know not to split แสดง?
pensive
 
Posts: 1375
Joined: Wed Apr 14, 2010 8:40 am
Location: Melbourne

Re: Thai speaker needed to confirm correct display in Flash

Postby vpower » Thu May 26, 2011 4:02 pm

This solution actually requires the person writing the text to insert a zero-width space, it doesn't use a dictionary to recognize words. As long as the person translating the text inserts the character between words, it should work, unless there are some complications I'm not aware of...in your example, maybe the person preparing the text would know not to put a zero-width space in that word.
Unfortunately, I'm a programmer, not a Thai speaker, so I'm relying on others to help me understand the issues.
Thanks!
vpower
 
Posts: 3
Joined: Tue May 24, 2011 5:34 pm

Re: Thai speaker needed to confirm correct display in Flash

Postby pensive » Fri May 27, 2011 2:36 am

เข้าใจขอบคุณครับ. Then you really didn't need a Thai person to examine your pagination? :)
pensive
 
Posts: 1375
Joined: Wed Apr 14, 2010 8:40 am
Location: Melbourne

Re: Thai speaker needed to confirm correct display in Flash

Postby Richard Wordingham » Sun Sep 04, 2011 3:28 pm

vpower wrote:...in your example, maybe the person preparing the text would know not to put a zero-width space in that word.

You have to train the users to use ZWSP. The Thai 8-bit code (TIS-620) has no support for user-input, and many applications find the word breaks themselves. On Windows, Thai language-sensitive line-breaking is built into Uniscribe. In the rest of the World, I think you will find that ICU also has dictionary-based line breaking for Thai. The original Unicode Khmer keyboard has support for ZWSP, but it's somewhere between degraded and totally missing in Windows.

Richard.
Richard Wordingham
 
Posts: 1291
Joined: Mon Feb 14, 2005 12:00 am
Location: Stevenage, England


Return to Browsers, Web Sites, Web Authoring, Multimedia

Who is online

Users browsing this forum: No registered users and 3 guests

Copyright © 2019 thai-language.com. Portions copyright © by original authors, rights reserved, used by permission; Portions 17 USC §107.