Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal and clean integration with bundle && rspec2 #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xiaods
Copy link

@xiaods xiaods commented Jan 8, 2012

please have a look on this request.thank for your hits.

@ianwhite
Copy link
Owner

Hi Deshi,

Thanks for this.

I'm a complete n00b at encoding issues. I'm currently trying to run the specs, and I'm getting either ASCII bail outs, or after adding

encoding: utf-8

to the relevant files, I'm getting:

Encoding::CompatibilityError:
incompatible character encodings: ASCII-8BIT and UTF-8

Can you give me a pointer on getting the specs running please?

Cheers,
Ian

@xiaods
Copy link
Author

xiaods commented Jan 11, 2012

could you please remove this code,and have a try to run rspec again.

  • it "should support chinese comma" do
  • truncate_html("年,,年,,年,,年,,年,,",6).should == "年,…"
  • end

i think that your system have not install Chinese encode library, my environment is fedora 16.

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

Successfully merging this pull request may close these issues.

2 participants