similar to: Localization problems with leeding html escaped ÅÄÖ

Displaying 20 results from an estimated 100 matches similar to: "Localization problems with leeding html escaped ÅÄÖ"

2004 Jun 24
3
R 1.9.0, special characters in variable names.
Hello all, I upgraded from R 1.8.1 to 1.9.0 (Windows XP), and spotted an odd thing. The last three letters in the Swedish alphabet are ??, ?? and ??. (In case they don't show correctly: they are a with a ring, a with two dots, and o with two dots (HTML: å ä ö). When I use these as variable names in a data.frame, odd things happen: In R 1.8.1, ?? (å)
2006 Jan 06
2
ouml in an .Rd
I am trying to put an ouml in an .Rd file with no success. Writing R Extensions suggests: Text which might need to be represented differently in different encodings should be marked by |\enc|, e.g. |\enc{J??reskog}{Joreskog}| where the first argument will be used where encodings are allowed and the second should be ASCII (and is used for e.g. the text conversion). (Above may get mangled by
2006 Jan 06
2
ouml in an .Rd
I am trying to put an ouml in an .Rd file with no success. Writing R Extensions suggests: Text which might need to be represented differently in different encodings should be marked by |\enc|, e.g. |\enc{J??reskog}{Joreskog}| where the first argument will be used where encodings are allowed and the second should be ASCII (and is used for e.g. the text conversion). (Above may get mangled by
2005 Jan 29
4
format question
how can I get a float to always print two decimal places? Thanks, Jamie
2005 Mar 10
8
Login controller additions
I have added roles and roles_users table and updated the model so that my users can have multiple roles. ("Admin" role does always have id = 1). I have added these methods to my application controller. <code> helper_method :is_admin? helper_method :is_user? def is_admin? if @session[''user''] @session[''user''].roles.find(1)
2006 May 10
1
acts_as_ferret choking
Hi all, I''ve ran into a problem with Ferret on my rails app, and I don''t really have a clue about why. When running the unit tests, I get the following error output: > Exception raised: > Class: <NoMethodError> > Message: <"You have a nil object when you didn''t expect it!\nThe > error occured while evaluating nil.version"> >
2005 Mar 02
4
All I want for Christmas
is to run my Rails app on lighttpd .... Unfortunately, I am tied to SQL Server, and the database connector requires ADO.rb which only runs on Win32. And lighttpd doesnt run on Win32. *sigh* _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Jul 08
2
Multiple language support
Hi I am a newbie on Rails. I am trying to figure out how to implement a multiple language site. How do you deal with navigation, error messages coming from Rails etc. Anybody have practical suggestions? Tnx -- PC -- PC __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2005 Dec 30
4
Convert "é" in "&eacute;"
I try to find an function to convert characters in html chars. "é" become "&eacute;" There is something in RoR 1.0 to do that ?
2006 Jan 11
4
Member.buddies.sort >> undefined method `<=>''
Hi all I have a model Member that has a habtm relationship to buddies (also members). Now I wanted to sort them using sort, but this ends in an error "undefined method <=>"! Where''s the problem here? Sorry, I''m still beginning to learn Ruby. ;-) Thanks Josh -- Posted via http://www.ruby-forum.com/.
2010 Jul 09
0
"incompatible character encodings: ASCII-8BIT and UTF-8"
Hi! Just started to learn Rails, and I get this error when i''m trying to make a simple forum-app (much like the screencast about making a blog in 15min at rubyonrails.org). This appears when I try to render a partial - that is posting a comment containing swedish letters å (&aring;), ä (&auml;) and ö (&ouml;). I can view those posts by going to localhost:3000/posts/ using
2005 Mar 04
4
Upgrading broke the .find methods???
I just updated to rails (via gem) and now all my .find..... methods give me "wrong number of arguments(3 for 0)" with the exception of find_by_sql which works fine but I want to avoid for obvious reasons. I''ve tried simplifying everything down to the bare minimum Priorities.find(1) and I printed out Priority.table_name to confirm it was still correct. What gives? Did I
2003 Jul 06
1
vorbiscomment causes &quot;Illegal UTF-8 sequence in comment&quot;
Could someone please tell me what I'm doing wrong here? I have some oggs tagged using other applications and ogginfo doesn't give me any warnings when I use UTF-8 in them. I did the following: $ vorbiscomment --raw -a test.ogg -t "test=åäö" $ vorbiscomment --raw -l test.ogg test=åäö $ ogginfo -v test.ogg Processing file "test.ogg"... New logical stream (#1, serial:
2006 Apr 11
26
Firefox won''t let me send ''&'' with AJAX!
Hi everyone, I''ve encountered a HUGE problem, which may not be RoR-oriented, but there might be a workaround somehow. See, at this moment, I''m unable to send AJAX requests back and forth when the information contains an ampersand (''&''). In essence, request is never completed. The odd thing is that it only happens with Firefox (IE and Opera works fine).
2005 Mar 10
10
Some Basic Questions
Sorry I can''t access IRC from work so I hope you don''t mind me asking my newbie questions here: 1) I have the following code: @post = Post.find(@params[''id'']) @comments = Comment.find_all "post_id = #@params[''id'']", "created_on ASC" And I am have problems with the second line. I want to pass the id from my post to the
2011 Oct 09
1
strucchange Nyblom-Hansen Test?
I want to apply Nyblom-Hansen test with the strucchange package, but I don't know how is the correct way and what is the difference between the following two approaches (leeding to different results): data("longley") # 1. Approach: sctest(Employed ~ Year + GNP.deflator + GNP + Armed.Forces, data = longley, type = "Nyblom-Hansen") #results in: # Score-based CUSUM
2005 Feb 09
85
Introduce yourself and your project -- Round 2
On December 14th, 2004 David Heinemeier Hansson sent this to the mailing list: I''m seeing a lot of new names on the list. Could we perhaps do a round of introductions? That would also be a great first post, if you haven''t had a chance to contribute yet. The basics should include your name, your organization, your country and city, and the project you''re
2006 Jun 22
0
escaped HTML in a select
Gday All; I have some HTML in a DB like &deg; and when I send it to the select helper it escapes it out. I have tried CGI::unescapeHTML() as well. Any ideas? Matta -- Posted via http://www.ruby-forum.com/.
2006 Sep 18
2
BUG: Possible issue with escaped hrefs
I noticed an interesting problem today when scripting against a web app. The application contained a link in it that used %20 instead of spaces. After running mechanize through the Charles debugging proxy I found that mechanize was converting %20 to %2520 (double escaping the %20). This appears to happen under both 0.5.4 and 0.6.0. Here''s a simple set of files that demonstrate
2008 Jun 13
1
link_to problem with '.' in :id parameter (must be escaped!)
Hi, I have this very normal link_to call: <%= link_to name, tag_path(name) %> The ''name'' can be something like "ASP.NET". That results in a URL like http://localhost:3000/tag/ASP.NET The Problem: I get a "no route" for this URL. I have a route map.tag ''/tag/:id'', :controller => ''items'', :action =>