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

@javatlacati

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions