Skip to content
This repository was archived by the owner on Nov 12, 2018. It is now read-only.
This repository was archived by the owner on Nov 12, 2018. It is now read-only.

Unicode Support #1

Description

@javatlacati

It seems that it doesn't have unicode support... Since there's a plethora of non ASCII writers support unicode would be great.

Example

In the puzzle Greet Me

I want to test the solution:

def greet(name)
  #return "Hello " + name.capitalize + "!"
  letters = name.split('')
  letters.first.upcase!
  letters.join
end

With the testing cases:

Test.assert_equals(greet('ríley'), 'Hello Ríley!')
Test.assert_equals(greet('ümlaut'), 'Hello Ümlaut!')

but I got

-e:14: invalid multibyte char (US-ASCII) -e:14: invalid multibyte char (US-ASCII) -e:14: syntax error, unexpected end-of-input, expecting ')' Test.assert_equals(greet('ríley'), 'Hello Ríley!')

Have a nice day!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions