similar to: Encoding ISO-8859-1

Displaying 20 results from an estimated 50000 matches similar to: "Encoding ISO-8859-1"

2010 Mar 18
1
capitalize and utf8 international symbols
Hi there, Being a relatively happy Rails user I suddenly noticed that string#capitalize and friends do not play well with international characters well. Sample console session: $ ./script/console Loading development environment (Rails 2.2.3) >> $KCODE => "UTF8" >> "яблоко".capitalize => "яблоко" Where "Яблоко" was expected (Russian word
2008 May 06
1
Problem with ActionWebService and UTF-8 encoding
Hello, I have a Rails App which serve a Soap Web Service with ActionWebService. I accept 2 string parameters that must contain xml. The data sent are in UTF-8, but the non-ascii char (é, à ...) in the message are crippled at the end. I tested the app, database, html, ... all accept utf-8, a direct http post works well, but going through the web service broke the content. I tried to manually set
2005 Mar 16
1
Re: Unicode support
How about this: we expose the known conversions of wxMBConv to wxruby global methods. Then we create a $WXSTRING_TO_RUBY and $RUBY_TO_WXSTRING globals that has a reference to those procs. In the ruby-string to wxString typemap, we use ruby to invoke $WXSTRING_TO_RUBY and $RUBY_TO_WXSTRING. That way, if people want a different method, they can write one (even a pure-ruby one) that changes the
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
2006 Jun 13
0
PDF with iso-8859-2 or WIN-1250 encoding
Hi, has anyone succeeded creating with PDF::Writer which includes characters from iso-8859-2 or WIN-1250 encoding (?????). What is the right way to do it, if there is any? I tried with embedding fonts but that does not seems to work, looking desperately for solution. thanks, Bojan Mihelac -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools,
2010 Dec 15
3
Spreadsheet gem character encoding
Hi everybody I''am working on a Rails app (using utf-8) in which I use the Spreadsheet gem to generate Excel files (.xls in my case). I ran into some issues when trying to write foreign characters to the generated Excel-File. The solution I found so far is to use Iconv like this: Iconv.conv(''ISO-8859-9'', ''utf-8'', some_string) This works fine with for
2013 Mar 20
0
Character Encoding: Why are valid Windows-1252 characters encoded as invalid ISO-8859-1 characters?
Something that looks like a bug to me - but as there may be a documented reason I have missed, I wanted to ask about it here first. Please let me know if this looks like something I should submit as a bug, if not, why this behavior is intended. Using RGui v2.15.3, 64bit, on a Windows 7 machine with US English locale You can see the behavior I describe in the following -------------------- >
2011 Sep 14
1
Hitting 500 status code on invalid UTF-8 byte sequence in params
Hello Core, Background: with Redmine-1.2 on Rails-2.3.11 we''re experiencing a "500 Internal Server Error" every time a mail with invalid UTF-8 byte sequence is hitting the MailHandler (the exception comes from the DB complaining about invalid string in the INSERT statement.) Since we do care about internal errors we''ve installed exception_notification plugin and this
2012 Feb 28
4
JIRA anyone?
I''m trying to evaluate what use I can make of JIRA with Rails/Ruby and am getting frustrated. The jira4r gem will install but the soap4r gem won''t load. literally: ''irb -r soap4r'' returns :cannot load such file... I also set this up in a Gemfile and tried to run this from the rails console:
2012 Aug 29
1
Wierd encoding problem
I put the complete error description into a gist (https://gist.github.com/5d2cef1414f1643fca5a) for better readability. The basic problem is that a properly encoded Json post request gets decoded an a very weird way. For example a "ü" which is encoded as "\u00fc" in uft-8 becomes ">\x93" or "~\xD4". I get different results ever time I run the decoder.
2010 Sep 15
1
csv/Rails 3/ruby 1.9.2p0/mysql encoding problem
I''m having an encoding problem, even though I''m attempting to have all my data always be in utf-8. Here''s the path the data takes: I have a CSV file that I believe is in utf-8, because I''m looking at it in a hex editor. One of the words is: 64 65 62 74 6F 72 E2 80 99 73 which translates to: debtor’s [that is, it contains a smart apostrophe] Now,
2011 Sep 08
4
TCPServer in 1.9.2
Hi. First post in this group and I hope someone can help. I am trying to teach myself Ruby with a long-term goal of doing some web development using Ruby on Rails. Note: version C:\rails\hello>ruby -v ruby 1.9.2p290 (2011-07-09) [i386-mingw32] I have been going through Jeremy McAnally''s book "Mr. Neighborly’s Humble Little Ruby Book" and there is a section in chapter 5
2018 May 01
0
source(echo = TRUE) with a iso-8859-1 encoded file gives an error
Hi Scott, This question is appropriate for the r-help mailing list, but probably off-topic here on r-devel. Best, Ista On Tue, May 1, 2018 at 2:57 PM, Scott Kostyshak <skostyshak at ufl.edu> wrote: > I have very little knowledge about file encodings and would like to > learn more. > > I've read the following pages to learn more: > >
2010 Sep 23
2
rspec runner setting $KCODE considered harmful?
I ran across a problem today in which some code ran fine in regular operation but failed in a test case. I scratched my head and thought "why would running from within the test harness change the behavior of my code?" Clearly it was the Heisenberg uncertainty principle in action! :) I discovered the root cause was that the rspec runner is setting the magical ruby global, $KCODE, to
2011 Jan 23
1
Force UTF-8 encoding
I''m writing an upload script for contact management, but having encoding issues: #=> Encoding::UndefinedConversionError: "\xFA" from ASCII-8BIT to UTF-8 I will not always know the encoding supplied, and this is the result of `some_string.encode("UTF-8")` I have also tried .force_encoding("UTF-8") to no avail. For now I''m simply trying to
2012 Sep 26
0
StartonRails 27/09/2012 na [:koshtech]
Convido-os para o StartonRails de 27/09/2012. Seguem a descrição, endereço e horários: O StartOnRails é o caminho mais curto entre migrar para Ruby On Rails e já ter migrado para Ruby On Rails. Não daremos cursos de Ruby ou de Rails aqui, mas temos a ideia de em pouco tempo ter um portal de apoio onde os cursos podem ser online. O que queremos, é dar uma boa noção do que é Ruby, On Rails,
2011 Apr 09
2
Frustration: rails server not responding
I deleted to app folders, Hello and Blog, which I had created per instructions of Beginning Rails 3. Thought I would start over again. Now when I start the command line window on my Ruby192 folder and type in "rails server", I only get the list of options for the command. I can get the version, but not the server. Do I need to reinstall rails? Bruce -- You received this message
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 controls.js ), and it
2010 Nov 01
1
Encoding::UndefinedConversionError on a simple file upload (rvm, MRI-1.9.2-p0, rails 3.0.1, apache+passenger)
Hello everyone. I am having the encoding issue on a simple file upload action: Encoding::UndefinedConversionError in MainController#upload "\xC4" from ASCII-8BIT to UTF-8 The action looks like this: def upload @uploaded_io = params[:upload] File.open(Rails.root.join(''public'', ''images'', @uploaded_io.original_filename), ''w'')
2011 Sep 19
0
Weird Parameter Encoding issue in Production Rails 3.1.0
All, I''m having a weird issue with posted parameters in Rails 3.1.0. This is only happening in production and not in development. I have confirmed that when making a post, parameters are passed to the server as: utf8=%E2%9C %93&authenticity_token=jOn16Uw3oUBPQfX02nt1IN8muZf150nTt24Ic4JgPvY %3D&alert%5Btitle%5D=http%3A%2F%2Fwww&alert%5Bheadline%5D=%26headline Which looks