search for: utf_8

Displaying 11 results from an estimated 11 matches for "utf_8".

Did you mean: utf8
2009 Nov 13
3
Encoding::UTF_8 missing?
...ke-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load'' /usr/bin/rake:19 It turns out that it''s failing when it tries to do validate_unique on a text field. When I look into the rails code that''s throwing the error it''s coming up because it can''t find Encoding::UTF_8. What''s more, if I skip db:seed and just start up the webserver I get a different error but it comes down to the exact same cause (can''t find Encoding::UTF_8). The problem is that I can''t even figure out where this module is supposed to be! Is it rails or is it ruby? Or...
2009 Nov 03
1
Can't pass file name as parameter to Corpus function
...ther than "C:\\Temp\\readme.txt". I also checked the URI when I was debugging the function and the URI is also "strFileName" rather than "C:\\Temp\\readme.txt". strFileName <- "C:\\Temp\\readme.txt" docURISource = URISource(strFileName, encoding = "UTF_8") docCorpus = Corpus(docURISource) So it seems when running interactively the URI contains strFileName as a variable but when called as a function, the URI contains strFileName as the actual value. Can anybody point out what's the problem? thanks in advance!! Jianli -- View this messag...
2009 Oct 15
5
invalid multibyte character error
Hi. When I try to use multibyte characters in my rails controller I get an invalid multibyte characters error (<rails_app>/app/controllers/admin_controller.rb:6: invalid multibyte char (US-ASCII)). Here is my controller: contoller AdminController < ApplicationController def read @title = ''Заголовок страницы'' end end Here is my haml template extraction: ...
2010 Jul 01
25
Encoding problems with Rails 3 + Ruby 1.9.1 (big surprise)
...contains a non-ASCII character the error is reversed: incompatible character encodings: UTF-8 and ASCII-8BIT (on the same line as f.select :postal_code) The more I work with encodings in Rails and Ruby in general, the more I find myself confused and frustrated. I added config.encoding = Encoding::UTF_8 to my application.rb, but that doesn''t appear to affect templates at all. The problem, so far as I can see, is in one of two places: I either need to tell Rack to make all my string parameters encoded in UTF-8 or I need to set my template default encoding to UTF-8. A quick fix is: params...
2010 Apr 19
10
Overview of Ruby 1.9 encoding problem tickets
SUMMARY: -------- I tried to identify the general and root causes for these problems with 1.9, by taking into account non-utf encoding, current patches, comments and ideas. I used ticket #2188 as base for explanations. This is a long read. I wanted to include all the relevant information in one place. I also included information about related tickets in LH and their status. I decided that adding
2011 Jul 27
1
[LLVMdev] Linking opaque types
On Jul 27, 2011, at 12:41 AM, Talin wrote: > What do you mean "the linker fails"? Type mismatches should not cause the linker to fail. In any case, this example should link, please provide a minimal example of two .ll files that repros what you're seeing with llvm-link. Thanks, > > It's llvm-ld that asserts here: > > Assertion failed: (N < NumContainedTys
2006 Aug 18
1
Portuguese Stemming
Today while compiling ferret I noticed there was a Portuguese stemmer being compiled. How do I enable it''s use for my index? Pedro.
2011 May 10
2
Changing default paper size to A4 on CentOS 5 (Kyocera FS1920 printer)
Hello, I have a Kyocera FS1920 network printer, and I run an up-to-date CentOS 5.6 x86_64 workstation. When I try to print with evince or Firefox the default paper size is always set to US Letter whereas the printer use A4. I have searched and other people seem to have the problem, but the only recommendations that I have found boil down to setting the default paper size to A4 in the CUPS
2014 Feb 15
0
Emacs, Gnus, HTML emails and nbsp's...
...s it to do with the locale? That says: $ locale LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER=en_GB.UTF_8 LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL= Something in Gnus. Something in emacs? Is it something else? If I make a file and insert UTF-8...
2009 Mar 26
8
Cover art
Hello to the people reading this list! I am developing tagging support for ogg vorbis in Nero products and we are currently thinking of supporting cover art in ogg files. What is the current state of proposal for cover art in ogg files? Is this http://wiki.xiph.org/index.php/VorbisComment#Cover_art still the latest information? Regards, Goran -------------- next part -------------- An HTML
2011 Aug 20
4
trouble installing 1.9.2
hello, I am trying install Ruby 1.9.2 on my MacBook Pro Lion. I am following along with the install instructions at ruby.railstutorial.org. I am the point were you run rvm install 1.9.2. Below in what I see in the terminal when installing and below that my rvm log. Thanks for any help. rvm install 1.9.2 Installing Ruby from source to: /Users/user/.rvm/rubies/ruby-1.9.2-p290, this may take a