Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Warning when using a en dash (–) in a string #116

Closed
prrrnd opened this issue Apr 22, 2017 · 2 comments
Closed

Warning when using a en dash (–) in a string #116

prrrnd opened this issue Apr 22, 2017 · 2 comments

Comments

@prrrnd
Copy link

prrrnd commented Apr 22, 2017

A picture is worth a thousand words, as they say.

screen shot 2017-04-22 at 15 25 03

ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin16]
ruby -wc path/to/file.rb returns Syntax OK

Let me know if you need additional information

@BrianHawley
Copy link

Note: Just like with #103, adding an encoding comment to the file fixes the issue:

# encoding: utf-8

@sandstrom
Copy link

This is a duplicate of #103

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants