similar to: Converting from UTF8 to ISO-8859-1 encoding

Displaying 20 results from an estimated 1000 matches similar to: "Converting from UTF8 to ISO-8859-1 encoding"

2008 Jan 21
13
has_many with different primary key
I''ve got quite the ActiveRecord challenge, any help would be appreciated. In my current project Companies can have many reviews. class Company < ActiveRecord::Base has_many :reviews, :as => :reviewable end However, my company table, I have two different IDs to identify my company. id - This is the typical id we use for normal stuff other_company_id - This is the id we use
2006 Jun 27
3
Decoding Unicode URLs Properly
Please help, I have an application I switched over to UTF-8, but I am unable to decode URLs with unicode characters in them properly. For instance, if I have "item=Pur%E9ed" as a parameter in my url, when it''s decoded by rails, it returns "Pur?ed" and not "Pur?ed". Is there an easy way to fix my controller to accept these characters properly?
2006 Sep 29
5
Request URI Length Override
Please help, Does anyone know how to override the Mongrel request URI limits built in? I know it was set at a 512 byte limit, but my application will not work with this in place. Why do I need a larger limit? I''ve written a rails application that uses a bookmarklet to send large amounts of data from site to site. The only way to do this is (and keep it cross browser
2006 May 24
2
OSX Rails Session Issues
Hey friends, I need a little assistance getting one of my applications running on OSX. I am able to install everything, and get my application running, but when I try to store an object in the session in one of my apps, the session object doesn''t get stored. I tried running webrick, and I tried running under lighttpd. I tried running a regular session store, and a mysql
2007 Feb 19
2
Acts_As_Ferret Tutorial
Hey guys, I wanted to share with you guys a detailed tutorial I just finished this weekend for using Acts_As_Ferret. http://www.railsenvy.com/2007/2/19/acts-as-ferret-tutorial I started using Ferret and Acts_As_Ferret a few weeks ago, and I learned so much that I wanted to give back to the community by writing up a helpful tutorial that covers all the key topics in one
2008 Jul 17
2
We ain''t got no RSpec
Hey Guys, This last week on the Rails Envy Podcast we received an "interesting" voicemail. Jason encouraged me to make a remix, and I think you guys will appreciate what resulted. If you have a few minutes and need a good laugh, see here for the voicemail and the remix: http://www.railsenvy.com/2008/7/17/we-aint-got-no-rspec -Gregg -- Posted via http://www.ruby-forum.com/.
2005 Nov 02
4
Trouble with Umlauts
I am developing an application in German. This means I have umlauts. When I was using rails version 0.13.1 there seemed to be no further configuration needed for umlauts to be shown correctly. Now I have upgraded to 0.14.2 and the umlauts are being displayed at ''?''s. I changed the encoding of the page and it is UTF-8. I have also tried the steps listed at
2006 Jul 12
7
Does anyone work with iso-8859-1 database ?
hello, Our database is in is-8859-1, and I want to update some text fields without success due to some accentuate characters ?? ect ... In my html page (where the charset is iso-8859-19) my textarea display the accentuate characters well and when the user post the form ... I thought that I just need to save it .... without success since ruby map one byte for one character ... So I
2007 Feb 03
2
Boost Sorting with Acts_as_ferret?
Hey guys, Simple question here. I have a single index of recipes, from which I''m looking at the following fields: Name, Ingredient Text, Tags, and Description. The key is, I want to show all the results that come from Name, before I show any of the results from Ingredient Text, Tags, or Description. I tried doing this: acts_as_ferret :fields => { :name =>
2005 Jun 28
3
dragdrop straaange behavior
hi there first thanks for thoose neeto things :) got a question couse i cant figure it out: i made a supersimple demo for the drag event: http://noomik.net/test/drag.html works so far, but: if i remove the code between line 20 and line 27 (in the drag.html) it won''t work any more and i get an javascript error in the dragdrop.js in line 311 saying drag has no properties. any
2005 Aug 29
3
Directory server for Centos
Any ones knows if Fedora directory Server is available for Centos ia64. or is in progress to be. Or never is gona be available. Or Redhat Directory server? Thanks Este correo fue escaneado y se encuentra libre de virus. Este correo fue escaneado y se encuentra libre de virus. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Apr 23
1
Problem: .ERROR! Can''t find default version of xen utils, bailing out!
I compile de xen 3.2 in my debian etch. I was studing the xen, and everthing was gona well...until i saw the xenman in apt repository i gona try it. I try install than, and so my xen donts work. I always receive the mensage: - .ERROR! Can''t find default version of xen utils, bailing out! and de xend dont start. Anybody can help me? Tranks! -- Rafael Emerick Z. de Oliveira
2007 Jan 30
3
Export ZFS over NFS ?
I''ve got my first server deployment with ZFS. Consolidating a pair of other file servers that used to have a dozen or so NFS exports in /etc/dfs/dfstab similar to; /export/solaris/images /export/tools /export/ws ..... and so on.... For the new server, I have one large zfs pool; -bash-3.00# df -hl bigpool 16T 1.5T 15T 10% /export that I am starting to
2010 Nov 05
2
Keep a copy of email.
Can dovecot-lda, keep a copy of any email that it receives in a diferente folder ? Like if user at domain.com get an email. It goes to user at domain.com inbox and goes to other folder..diferente that his mailboxes ? I want this with all users. Can it be done ? If not, does any one have any ideia how could it be done ? We are having serius problems with backups, with this we gona be able to
2006 Feb 16
2
Joel on Software Rails Rant
I didn''t know if any of you had seen this rant about Rails over on Joel on Software but it is an interesting read. Check it out here - http://discuss.joelonsoftware.com/default.asp?joel.3.309321.45 -Rob Bazinet http://www.robertbazinet.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Aug 20
15
CF to SATA adapters for boot device
Has anyone here had any luck using a CF to SATA adapter? I''ve just tried an Addonics ADSACFW CF to SATA adaptor with an 8GB card that I wanted to use for a boot pool and even though the BIOS reports the disk, Solaris B95 (or the installer) doesn''t see it. I might give the IDE version a go (I really wanted hoT-plug), otherwise I''ll be able to store a couple of thousand
2007 Mar 05
3
Rbind with data frames -- column names question
As part of my work, I am trying to append matrices onto data frames. Naively I assumed that when rbinding a data.frame and matrix, the matrix would be coerced and appended, keeping the names from the data frame. Clearly, I am not fully understanding the process by which rbind works. Example code: > A<-data.frame(1,1,1); names(A)=letters[1:3] ; B<-matrix(0,2,3) > rbind(A,B)
2006 Apr 26
2
Ruby On Rails Salary in the UK? how much?
Hi, What do you think is a reasonable salary for a ROR programmer in Manchester, UK? If you''re working with ROR and in the UK i''d be interested in knowing your salary :-) Your opinions would be very valuable to me JD -- Posted via http://www.ruby-forum.com/.
2006 Mar 10
7
Problem saving data in different languages
Hi, I currently have a site that lets people enter info and submit it to the database. But the problem is the it lets people enter data in their language (portuguese and spanish) and all the special characters for those languages get replaced by symbols. Any idea how would I fix that? Thanks a lot. -- Posted via http://www.ruby-forum.com/.
2006 Apr 19
5
Swedish characters problem
Hello, I''m playing around with Rails and I''m having problems with displaying swedish characters. This is how far I''ve gotten: I have a controller... class MiscController < ApplicationController def swedish_chars @chars_to_display = ''???'' end end ...and a template (swedish_chars.rhtml) <head> <title>Test with swedish