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

Buffer chokes on multibyte characters #66

Open
bkeepers opened this issue May 2, 2014 · 3 comments
Open

Buffer chokes on multibyte characters #66

bkeepers opened this issue May 2, 2014 · 3 comments

Comments

@bkeepers
Copy link

bkeepers commented May 2, 2014

This wiki page on GitHub causes wikicloth to hang. It appears to be caused by the buffer's mishandling of multibyte strings.

The following will just hang indefinitely:

require 'wikicloth'
require 'open-uri'

url = "https://raw.githubusercontent.com/wiki/CA-CST-SII/Software-Standards/Demo:-C%23-Coding-Standards.mediawiki"

puts WikiCloth::Parser.new(:data => open(url).read).to_html
@bkeepers
Copy link
Author

bkeepers commented May 2, 2014

/cc @Johnny2136

@Johnny2136
Copy link

ok... Yeah I think it was all the ect... Its a C# codeing
standard so I was in the process of putting

 When it
crashed can you delete the two files?

https://github.com/CA-CST-SII/Software-Standards/wiki/Demo:-C%23-Coding-Standards

And

https://github.com/CA-CST-SII/Software-Standards/wiki/Demo:-C-%22sharp%22-Coding-standards

If you can delete them I will try blocking all the tags in the document
with

 be for I try posting it again?

Whats up with the preview button being turned itnto a tab... and not
functioning?

On Fri, May 2, 2014 at 9:33 AM, Brandon Keepers [email protected]:

/cc @Johnny2136 https://github.com/Johnny2136


Reply to this email directly or view it on GitHubhttps://github.com//issues/66#issuecomment-42032244
.

@Johnny2136
Copy link

How do I delete or edit it? if it hangs in infinite loop?

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

No branches or pull requests

3 participants