Hello Shaun, what happen when your user post special text?
You flex comp show error imediately on only save wrong in database?

If your comps showing error when user typing problem is wmode of your
html wrapper, in firefox flashplayer had a bug...
If is in database and you using amfphp, you can change the charset to
utf8 in gateway.php, if this not work (amfphp 1.9 had bug in this
place), you can use utf8_decode()

In my case i made this class, where only method receive object and
return object utfdecoded:

<?
/*********************************************************************************
                                        Operações involvendo Charset e Unicode  
                                                 
                                        desenvolvido por Daniel Lopes
                                                        www.areacriacoes.com.br 
                                                 
*********************************************************************************/


class UnicodeOperations
{
        // Método para decodificação unicode em um OBJECT 
        public static function objectUtf8Decode($obj)
        {
                $keys = array_keys($obj);
                
                for ($i=0;$i<sizeof($obj);$i++){
                        $obj[$keys[$i]] = utf8_decode($obj[$keys[$i]]);
                }
                unset($i);
                
                return $obj;
        }
}
?>

Example using the class in php:
if ($e['utf8_decode']) $e = UnicodeOperations::objectUtf8Decode($e);

--- In flexcoders@yahoogroups.com, "Shaun" <[EMAIL PROTECTED]> wrote:
>
> I'm still trying to find the best way to allow my users to enter
> foreign language characters - like á, ñ, etc. - into my flex text
> controls.
> 
> Has anyone had experience with this, or found a solution that makes it
> somewhat easy on the end user?  I've noticed that holding alt and
> typing the codes for the keys does not work, which makes me think I'm
> going to run into problems.
> 
> Thoughts?
> 
> Shaun
>


Reply via email to