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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
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 http://www.aidaweb.si --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
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 Serverhttp://www.aidaweb.si--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
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 Serverhttp://www.aidaweb.si--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Yanick a écrit :> 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 HTMLWhy wouldn''t it? UTF-8 encodes Unicode, which contains all known characters. I''ve used it on all my i18n''d projects for years.> encoding to ISO-8859-1, and have every XML responses return UTF-8Latin-1 is dead, dead, dead. It doesn''t even contain the symbol or the letter, for crying out loud! Talk about FR support!> 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 specialYou''re obviously doing a wrong conversion somewhere on your process chain. -- Christophe Porteneuve a.k.a. TDD "[They] did not know it was impossible, so they did it." --Mark Twain Email: tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
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 http://www.aidaweb.si --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---