Possible to detect language in Scaleform text input box?

I would like to switch the font of a text box depending on which language the user is typing. Is this possible to do? Maybe I just need to have a language option and switch the font based on that.

I actually have two versions of each of my scaleform swf’s. One for all latin character languages, and one for Chinese, Japanese and Korean.

It’s a pain, but i couldn’t figure out a better alternative (other than just embedding a unicode font, but they all look kinda crappy for latin chars imho).

Thanks for the information. I’ve been banging my head against the wall doing this:

I think I’ll just do it the way you do.