Displaying 18 results from an estimated 18 matches for "howtouseunicodestr".
2005 Nov 02
4
Trouble with Umlauts
...med 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
http://wiki.rubyonrails.com/rails/pages/HowToUseUnicodeStrings, but that did
not help.
Has anyone else seen this problem? Do you have a definitive way to fix it?
Thanks,
Jacob
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2006 May 02
2
Converting from UTF8 to ISO-8859-1 encoding
Please help,
I have followed the rails wiki to convert my rails application to use
UTF-8:
http://wiki.rubyonrails.com/rails/pages/HowToUseUnicodeStrings
I am able to succesfully cut and paste Unicode characters from other
page, successfully store and display unicode characters.
However, my client actually wants ISO-8859-1 encoding, which I''m
coming to realize is somehow different then UTF8. Having UTF8 allows me
to use alot...
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 Jul 04
2
searching
I''ve been searching for a way to implement a search feature across
articles posted in a table. All the google results I get refer to "live"
search and I''m not interested an automcomplete function, but because of
the prevalence of tutorials on the subject, I can''t seem to find what I
want.
I have implemented a search in PHP before where I had MySQL perform an
2006 Jul 12
7
Does anyone work with iso-8859-1 database ?
...character ...
So I thought I just need to set the charset to UTF-8 in my html page
and convert to iso in my controller with the iconv library => no success
I also saw some hacks for UTF-8, but I don''t know how to use it for
iso-8859-1
http://wiki.rubyonrails.com/rails/pages/HowToUseUnicodeStrings
=> how do you do to update iso-8859-1database text field ?
thanks
arnaud
2006 Jun 25
7
Unicode HOWTO?
I am disappointed about the (seeming) lack of Unicode support in Rails.
Is there a howto about working the most important limitations? For
example, figuring out the length of an entered word: "???".length() will
return 6, not 3. So if there is a maximum number of characters a user is
allowed to enter, this won''t work as it should -- it treats strings as
byte arrays instead
2006 Jul 22
10
Non English characters
Hi folks,
Does anyone know how to tackle Swedish letters in Rails. Am I
completely off track in thinking that it should be done using map or
regex in some clever way?
Bealach
2006 Jul 22
1
(bug) auto_complete_for has no support for umlauts!
i wanted to file a bug in the rubyonrails trac, since trac is currently
broken, i am writing this here. maybe there is a solution allready:
auto_complete_for has no support for umlauts. this i a very big problem
for non-english developers out there, since almost everything searched
for contains umlauts.
* searching by umlauts is not possible
* displaying of the found entries is screwed
see
2006 Apr 23
0
Using unicode_hacks breaks Rails 1.1 RJS
All,
I wasted an hour on this, so here''s a quick post to save you from the
same. If you are using
"unicode_hacks":http://julik.textdriven.com/svn/tools/rails_plugins/unicode_hacks/
for "multi-lingual
support":[http://wiki.rubyonrails.com/rails/pages/HowToUseUnicodeStrings/versions/40]
(i18n), there''s a gotcha - RJS templates will not work.
The culprit is line #4 in lib\actionpack_filters.rb, which sets the
character set in the HTTP header to UTF so that old browsers can render
the properly. It also sets the content-type to text/html. For RJS, the
conte...
2006 Jan 10
1
Validating Umlauts
Hi there,
I''m building a rails application for German and English speakers.
However, I''m having some problems validating German-specific characters
(????). I have a tag-model which validates format of :name, :with =>
/^\w+$/. This throws an exception if german characters are used. My
tables are all utf-8 and my environment.rb has the lines
$KCODE = ''u''
2005 Dec 29
0
UTF-8 and validates_length_of
Hello,
according to
http://wiki.rubyonrails.com/rails/pages/HowToUseUnicodeStrings
Rails is not ready for UTF-8 in many places, e.g. the
validates_length_of method. However, I see UTF-8 used in many Rails
applications. So, hopefully, is the wiki page now out-of-date?
Cheers,
Nils
--
Posted via http://www.ruby-forum.com/.
2006 May 01
1
GBP/pound sign being converted to question mark
Hi everbody. I''m at my wit''s end with a tiny bug in my Rails app. The UK
pound symbol (?) is being converted to a question mark (?) somewhere
when I save my models. Here''s all the information I can think of.
* Constructing a model containing a ?-sign and displaying its contents
works fine.
* Saving a ?-sign into the database on the mysql command line and
retrieving
2006 Apr 08
16
International characters
I am new to Ruby on Rails. I have read a lot, and bought several books,
and now I have started to implement a modified "shopping cart",
following the AWDWR-book, with modifications to suit our application
(subscriptions and memberships).
Having done up to chapter 7 I have had no real problems, except one:
Since our customers are Swedish I need the screen names, texts etc to be
in
2006 Feb 05
2
working with rails and unicode
I''m trying to get basic unicode support working using the "Iteration
A1" sample application from the "Agile Web Development With Rails"
book.
Following the "HowToUseUnicodeStrings" wiki document, I have made the
following changes:
config/environment.rb:
# Include your application configuration below
$KCODE = ''u''
require ''jcode''
admin.rhtml:
<head><meta http-equiv="content-type" content="text/html; charse...
2006 Apr 11
8
Does Rails provide solid support for UTF-8?
I need to use UTF-8 in my app and was wondering if Rails would support
it properly.
Some sites seem to be saying that it has weak internationalization
support. Is this true? If so, where is the problem? What should I look
out for?
Are there tweaks, plugins or gems that fix the problem?
TIA.
David
--
Posted via http://www.ruby-forum.com/.
2006 May 07
3
Character Encoding
Hi,
I''m sure I''m doing something dumb, but...
I have an application that dynamically produces UTF8 encoded html
exclusively. This application works using webrick without a problem.
When using Mongrel 3.12.4 it looks as though the encoding is lost and
garbage appears on the string. I suppose this could also be a double
encoding, but personally, I can''t tell the
2006 Sep 19
9
Very strange: Umlauts (äöü) aren't displayed correctly in
Hi all
Take a look at the following video, please... I just'' can''t help me
anymore...
http://josh.ch/files/temp/rails_problem.mov
I''m sorry for the bad quality, it''s just a demo of Snapz Pro X 2... ;-)
But I hope you''ll see enought...
Thanks for any help.
Josh
--
Posted via http://www.ruby-forum.com/.
2006 Jan 30
15
i18n when?
Hi all,
Just wondering... Are there any plans to include i18n support in Rails
anytime soon?
I guess this is about the only feature I''m realy missing in Rails.
Any thoughts?
Regards,
Harm de Laat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060130/63681052/attachment.html