Author Topic: Dynamic text box with Chinese AND English characters?  (Read 1332 times)

F U Clock

  • A Bold Fresh Piece of Clock
  • Posts: 1964
  • Clock Day 2012 Participant Turn Back The Clock Participant Participation in Hamburger/Baconburger Day festivities Participation in the Clockoween Flash Event Clock Day 2005 Participant Clock Day 2006 Participant Clock Day 2009 Participant Clock Day 2010 Participant Clock Day 2011 Participant Participation in Fifen This Movie Clock Day 2013 Participant For having submitted at least 10 animations
    • View Profile
    • http://www.mattchathamdesign.com
    • Awards
Dynamic text box with Chinese AND English characters?
« on: August 08, 2013, 11:45:08 AM »
So I'm translating a game into several different languages, one of which is Chinese. I've noticed that in a dynamic text box where English characters are included also, they aren't displayed when the .swf is exported. The font is embedded in the document with all characters selected. It seems like whatever language-character is first displayed in the text box, the other language cannot be. For instance, if there are Chinese characters first, then English, the English will not display, and vice-versa. Anybody ever dealt with this, or know what a good fix might be?

PhantomCatClock

  • ✡ Official Jew ✡
  • Official Clock
  • Posts: 5462
  • Ghosts: 1
    • Newgrounds: PhantomCat
  • For participating in all 28 days of the Flash Flood For winning flash of the month Clock Day 2018 Participant Clock Day 2017 Participant Clock Day 2016 Participant Clock Day 2015 Participant For having submitted at least 50 animations Participation in Fifen This Movie Hulk Hogan Epic Clock Fest 2014: Rise of the Poop or How I Learned to Stop Worrying and Love Cocaine Award for participating in Hulk Hogan Epic Clock Fest 2014: Rise of the Poop or How I Learned to Stop Worrying and Love Cocaine Participated in Pass the Gravy collar 2014 Participated in the House of Haunted Clocks Collab Contributed to the Home Alone Hentai Collab Clock Day 2012 Participant Clock Day 2013 Participant Clock Day 2014 Participant
    • View Profile
    • Awards
Dynamic text box with Chinese AND English characters?
« Reply #1 on: August 08, 2013, 05:35:56 PM »
Not until I tried to recreate it. It'd put my moonrunes in as little squares, so I had it do the Chinese first (had a little loop alternating every so many frames) and.. same thing.


Finally realized the actual dynamic text box on the Stage had English letters first, so I put the Chinese characters first and "asdf" afterwards. WHAM! It started alternating correctly.

F U Clock

  • A Bold Fresh Piece of Clock
  • Posts: 1964
  • Clock Day 2012 Participant Turn Back The Clock Participant Participation in Hamburger/Baconburger Day festivities Participation in the Clockoween Flash Event Clock Day 2005 Participant Clock Day 2006 Participant Clock Day 2009 Participant Clock Day 2010 Participant Clock Day 2011 Participant Participation in Fifen This Movie Clock Day 2013 Participant For having submitted at least 10 animations
    • View Profile
    • http://www.mattchathamdesign.com
    • Awards
Dynamic text box with Chinese AND English characters?
« Reply #2 on: August 08, 2013, 05:39:27 PM »
Freakin'... weird. Mine basically adopts whatever is first, so if I put English then Chinese it deletes the English in the entire thing. Chinese first - no English. I solved it actually by just checking the "render text as HTML" button.

PhantomCatClock

  • ✡ Official Jew ✡
  • Official Clock
  • Posts: 5462
  • Ghosts: 1
    • Newgrounds: PhantomCat
  • For participating in all 28 days of the Flash Flood For winning flash of the month Clock Day 2018 Participant Clock Day 2017 Participant Clock Day 2016 Participant Clock Day 2015 Participant For having submitted at least 50 animations Participation in Fifen This Movie Hulk Hogan Epic Clock Fest 2014: Rise of the Poop or How I Learned to Stop Worrying and Love Cocaine Award for participating in Hulk Hogan Epic Clock Fest 2014: Rise of the Poop or How I Learned to Stop Worrying and Love Cocaine Participated in Pass the Gravy collar 2014 Participated in the House of Haunted Clocks Collab Contributed to the Home Alone Hentai Collab Clock Day 2012 Participant Clock Day 2013 Participant Clock Day 2014 Participant
    • View Profile
    • Awards
Dynamic text box with Chinese AND English characters?
« Reply #3 on: August 08, 2013, 05:43:35 PM »
Doooo you have Basic Latin™ embedded too? (yes) ANYWAY after s'more tinkering, the actual default text on the Stage is apparently the culprit. I never lose English, though... But as long as the first letter (even if it's the ONLY letter) of it is in Chinese, both will work for me. I've only tried Arial and Apple Chancery though. Maybe it's the font? asdf guess it doesn't matter, you got it working

AstronautClock

  • hodor
  • Official Clock
  • Posts: 6151
  • Clock Day 2012 Participant Clock Day 2011 Participant Clock Day 2013 Participant For excellence in the field of excellence Turn Back The Clock Participant Good popstin, bro. Props Clock Day 2008 Participant Clock Day 2009 Participant Clock Day 2010 Participant
    • View Profile
    • Awards
Dynamic text box with Chinese AND English characters?
« Reply #4 on: August 11, 2013, 04:41:54 PM »
sometimes I wish I kept coding for a hobby so I could partake in these problems. they seem fun to try and solve with a group but I cant help sadly