similar to: utf8 characters in cucumber feature file

Displaying 20 results from an estimated 40000 matches similar to: "utf8 characters in cucumber feature file"

2010 Aug 01
3
Problem with non-ascii characters in forms: "incompatible character encodings: UTF-8 and ASCII-8BIT"
Hi First off, I''m using Ruby 1.9.1p378 and Rails 2.3.8. I was creating a minimal application to test handling of Norwegian special characters when I bumped into this strange problem... I have a simple Car model with fields maker:string and model:string. For the controller I planned to just have an index action do all the work: class CarsController < ApplicationController def index
2009 Feb 06
6
RecordNotFound bubbling thru to cucumber
Hello, I have a controller action that raises a RecordNotFound exception if you''re not allowed to see something. In my global application controller (application.rb), I catch these and render the 404 template. But when I run cucumber (using webrat), it''s getting the full stacktrace (the step blows up). Any ideas why? I have consider_all_requests_local turned off in my test.rb.
2005 Mar 08
1
rsync with 8bit filename characters or UTF8
Hello all I'm having a problem that is driving me nuts. I am syncing directories that have characters which are not 7-bit Latin encoded, ie. ??? ' and the likes. I'm using a windows/cygwin client machine on one side and a FreeBSD server on the other side. I use an include/exclude list to specify which directories to sync. If I have a c:\backup\l?l c:\backup\bla I put +
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
2014 Dec 09
0
UTF8 markdown vignette
On 09/12/2014 11:13 AM, Yihui Xie wrote: > A few things to clarify: > > 1. You do not necessarily have to keep the \usepackage{} line if you > use %\VignetteEncoding{UTF-8}, because Pandoc will use UTF-8 anyway in > its LaTeX template. > > 2. Perhaps the vignette engine in R has done something clever to > convert utf8 to UTF-8, but I'd recommend
2014 Dec 09
0
UTF8 markdown vignette
Dear Yihui, I have created a reproducible example at https://github.com/ThierryO/utf8vignette The \usepackage{} line is needed, otherwise R CMD check --as-cran will give a warning. %\VignetteEncoding{UTF-8} did not solve the problem. I use rmarkdown_0.3.11 HTML vignette is not an option as the vignette demonstrates the use of a custom beamer output format. Best regards, Thierry ir. Thierry
2008 Nov 05
5
rake features and cucumber feature/name not producing same result
Hi all. If I run rake features or cucumber features/* I get one failing FIT scenario in one of my features. If I then run that feature that contains the FIT table with the failing scenario manually, it passes. I run it again with rake features or cucumber features/* it fails, run individually, it passes. Obviously some state is carrying over between the features. Any idea where i would start
2010 Jul 22
0
TemplateError while rendering german special characters
Hi I am using following versions of Ruby and Rails on arch linux [hardik@sunshine: kandibank ]$ ruby --version ruby 1.9.1p429 (2010-07-02 revision 28523) [x86_64-linux] [hardik@sunshine: kandibank ]$ rails --version Rails 2.3.8 I am using the sqllite database in development mode. I can store a string having German special characters (umlauts) without a problem i.e. Müller. But when Rails
2013 Jul 02
0
incompatible character encodings: UTF-8 and ASCII-8BIT
Hi as part of our setup we have erb templates that are SQL files, we parse then to add in some user details to the SQL (these come from a hiera json file created from PHP) before using that file to create the database. If that data includes UTF-8 characters (for example an e with an acute accent) we get the error: Failed to parse template Detail: incompatible character encodings: UTF-8 and
2014 Nov 19
0
incompatible character encodings: ASCII-8BIT and UTF-8
Hi, I have problem with showing some string in my site with Rails 4 I get this message: incompatible character encodings: ASCII-8BIT and UTF-8 concerning this html sequence in an erb file: <h3><%= MyString.to_s.force_encoding("UTF-8") %></h3> I get this problem only on *production server,* but I do not have the problem on my local computer What can I do with this
2009 Mar 31
7
[Cucumber] Running single feature from command line
I am using Cucumber 0.2.3 and am having problems running a single feature. In particular, the cucumber Textmate bundle was not working so I traced it back and discovered that I could not run single files or features from the command line either. My setup has the following line in cucumber.yml default: -r features/support/env.rb -r features/support/plain.rb -r features/steps
2007 Apr 03
0
activerecord utf8 special characters odd behavior
Since upgrading to Rails 1.2.* my ActiveRecord has not been acting properly: When I perform a .find and give a UTF8 string as a conditional, the select statement gives me the following: SELECT * FROM albums WHERE (name = ''Medúlla'') When I perform a .save on a model UTF8 and other characters ( . ! ) get stripped out of the query: INSERT INTO albums (`name`)
2014 Oct 19
1
Writing UTF8 on Windows
Recent functionality in jsonlite allows for streaming json to a user supplied connection object, such as a file, pipe or socket. RFC7159 prescribes json must be encoded as unicode; ISO-8859 (including latin1) is invalid. Hence I would like R to write strings as utf8, irrespective of the type of connection, platform or locale. Implementing this turns out to be unsurprisingly difficult on windows.
2007 Nov 30
0
Screwed Special Characters in an utf8 String Read From Database
Hello, I have a mysql database with a InnoDB table in utf8_general_ci encoding. Inside this table there is a column "path", varchar(255), utf8_general_ci. What I am trying to do now, is to use this path from the database to look up a local file and transmit this file to the user. The problem is, that my program is not able to open any files, that contain special characters (e.g.
2009 Mar 18
2
Cucumber failing with ''uninitialized constant Spec::Ruby''
I''ve just upgraded RSpec to 1.2 on a Rails 2.2.2 app. rake features fails with the following error: /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/ dependencies.rb:442:in `load_missing_constant'': uninitialized constant Spec::Ruby (NameError) from /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/ active_support/dependencies.rb:77:in
2009 Jan 05
7
[Cucumber] after feature hook?
Hi, Is there a hook or a method to execute some code after a whole feature has run or will I need to embed that in a ''Then''? Regards Aidy
2009 Dec 20
1
utf8 postscript cyrillic
Dear R users, I am running R version 2.10.0 (2009-10-26). I need to prepare an eps graphic with a legend with cyrillic words. I tried setting the encoding parameter of the postscript command, but in vain, nothing seems to work. I tried with CP1251, KOI8-R, UTF-8 and Cyrillic (UTF-8 turned out to not be available under /usr/lib/R/library/grDevices/enc). All I get is ???????? in the final
2016 Apr 14
2
Error messages when start first time R: "You're using a non-UTF8 locale, therefore only ASCII characters will work."
Hi! I just started this course and just installed R and RStudio but I got this warning/error messages when I open R and RStudio: During startup - Warning messages: 1: Setting LC_CTYPE failed, using "C" 2: Setting LC_COLLATE failed, using "C" 3: Setting LC_TIME failed, using "C" 4: Setting LC_MESSAGES failed, using "C" 5: Setting LC_MONETARY failed,
2014 Dec 09
4
UTF8 markdown vignette
A few things to clarify: 1. You do not necessarily have to keep the \usepackage{} line if you use %\VignetteEncoding{UTF-8}, because Pandoc will use UTF-8 anyway in its LaTeX template. 2. Perhaps the vignette engine in R has done something clever to convert utf8 to UTF-8, but I'd recommend %\VignetteEncoding{UTF-8} instead of %\VignetteEncoding{utf8} to make sure it is a valid encoding name,
2014 Dec 09
3
UTF8 markdown vignette
On 09/12/2014, 4:38 PM, ONKELINX, Thierry wrote: > Dear Yihui, > > I have created a reproducible example at https://github.com/ThierryO/utf8vignette > > The \usepackage{} line is needed, otherwise R CMD check --as-cran will give a warning. > %\VignetteEncoding{UTF-8} did not solve the problem. I've just taken a look at the sources, and that's only in R-devel, it never