Displaying 10 results from an estimated 10 matches for "unicode_hacks".
2006 Jun 16
0
[ATTN] To all users of unicode_hacks
TO everyone who is making use of unicode_hacks!
I have made irreversible changes to the plugin so that the routings
are no longer overloaded. To call the character-bound routines, you need
to use the "chars" or "u" accessors, as outlined in the docs
http://julik.nl/code/unicode-hacks/index.html
and in this blog post by...
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_filt...
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 Jun 27
3
Decoding Unicode URLs Properly
...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?
Or is there perhaps a plugin someone wrote that is less extreme then
unicode_hacks?
Thanks in advance,
Gregg Pollack
Orlando Ruby Users Group
http://www.ORUG.org
--
Posted via http://www.ruby-forum.com/.
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 Mar 21
2
How do I get substring of utf-8 string?
...bstring from a utf-8 encoded string. (say, first
50 characters of the string) String#[0..49] would give me the first
50 bytes not 50 characters..
I know there is jcode library, but it only let you count number of
characters in utf-8 string.
unicode gem doesn''t seem to help much. unicode_hacks gem seem to
solve the problem, but it also seems to change the methods of String
class directly so that it may confuse rails which expects String#[]
to give back bytes not characters.
Can somebody point out what should be the route I should take?
Should I implement substring methods mysel...
2006 Jan 05
1
unicode hacks - fixes for webrick and Safari
Hello!
First, thank you Julian for the useful plugin ''unicode_hacks'' <
http://julik.textdriven.com/svn/tools/rails_plugins/unicode_hacks/>.
I have found some problems running my app in development on Webrick
and looking at it with Safari (MacOS X 10.4.3, Safari 2.0.2). Some
files are sent with different sizes (e.g. default css example, or
c...
2006 Aug 27
6
how to get the words of a query
Hi,
Using aaf to search pages, I wanted to present excerpts from the texts
even when more than one term was used in the search.
I came to some results, despite the difficulty caused by Unicode+ruby.
The last problem I''m faced is to get the query words, without the
logical articulation chars if any.
Is there a clean way to get them ?
--
Jean-Christophe Michel
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
2005 Dec 21
10
Investigating Unicode. Take 2, with nastities and allegations.
Well, I see that my last email hasn''t generated any reaction from the
Rails core team. It looks like all of them are the happy users of
"plain text" (which, as we know by now, doesn''t exist, but still).
I apologize in advance for the sore bitterness of this message but I
see that the Rails-core STILL, despite all of the efforts, sees these
issues as something