开发者

Flex TextField won't accept "ü" and other "German" characters

I'm having problems with Flex (3.5) auto converting "ü" into a "u". As soon as I paste the character in, it transforms.

Is there something I need to turn on to enable these other character sets? I thought Flex supported UTF-8?

开发者_如何学C

Thanks!


Default setup on 3.3 which I use currently for german/english applciation doesn't behave like that. I made new dummy project and tried all text editable fields. Check Project Properties > Resource > Text file encoding and Flex compiler > Additional compiler arguments. If you didn't change anything there, than it's component you use. EDIT: OR, maybe it's font, if you use custom font...


i had the same problem, german characters, but this problem was solved from ma PHP side developers, they did something, flex doesn't have n e problem in representing these special characters, so i was doin everything fine from ma side


What font are you using ? are you sure that the font is supporting those chars ? else you will get u or ? instead of ü.


Perhaps too simple a question, but what language(s) do you have set in the flex-config.xml file? There are a couple of places that this can be set, including the font table suggested by Adrian.


Use the Flash Text Laylout Framework as it supports the full character set. This means use Flex 4 and either <s:TextInput or s:TextArea or any other of the spark components that use the TLF.


You should check your default compiler args, the source file details and the html file your swf is embedded into, to make sure they use utf-8. also check the font type you are using, to see if the required characters are part of that set.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜