[Rails-spinoffs] Re: Problems with ö,ü,ä

Janko Mivšek
Thu, 10 May 2007 07:49:05 -0000

Salut Yannick and others,

If you look at Ajax example 4 on
http://demo.aidaweb.si/demos.html?view=ajax, you''ll see an autocomplete
field for selection of month names in 5 languages, 3 of them have names
  with accented letters. Just type s and you''ll see names like sušec
etc.

This is a proof that an autocomplete field can work well with accented
letters if you use strictly UTF-8, as in Aida/Web framework from where
above example is.

Best regards
JAnko

Yanick wrote:
> In the project I''m workin on, we also need accented characters
> (frnech), and using UTF-8 alone will not work. I had to set the HTML
> encoding to ISO-8859-1, and have every XML responses return UTF-8
> encoded strings. I don''t know exactly why UTF-8 would not work
with
> HTML, but with this combinaison, there''s no need to convert
special
> characters into any entities like that (except for the XML 1.0
> entities : & '' " < and >)
>
>
>
>
> On 8 mai, 22:02, wizard
<mar...-RRAtnnJqpkbr2AXO0mzq+Q@public.gmane.org> wrote:
>> no problem, about the name :-)
>>
>> to me it seems strange, beceause i got this problem only in this
>> livesearch-appliaction.
>> anything else in my browser (IE 7.0 or Firefox) make no problems.
>>
>> doesn''t this mean, something in the script has to be changed?
>>
>> On 8 Mai, 11:14, Janko Mivšek
<janko.miv...-E3fUNmXwn2NDlGyqqv13OA@public.gmane.org> wrote:
>>
>>> Hi Broschir,
>>> You need to strictly use Unicode (UTF-8) encoding and you
shouldn''t have
>>> such problems.
>>> Best regards
>>> Janko
>>> wizard wrote:
>>>> hello
>>>> i got prototype vers. 1.5.1 for the AJAX - livesearch- script,
and i
>>>> got a problem with some words, using �,�,�,etc.
>>>> this words look like this:
>>>> Brosch?r
>>>> what can i do, to fix this problem?
>>>> hope to get answers, thanx.
>>> --

--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server