Skip to content

proposal and clean integration with bundle && rspec2 - #3

Open
xiaods wants to merge 1 commit into
ianwhite:masterfrom
xiaods:master
Open

proposal and clean integration with bundle && rspec2#3
xiaods wants to merge 1 commit into
ianwhite:masterfrom
xiaods:master

Conversation

@xiaods

@xiaods xiaods commented Jan 8, 2012

Copy link
Copy Markdown

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

@ianwhite

Copy link
Copy Markdown
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

xiaods commented Jan 11, 2012

Copy link
Copy Markdown
Author

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