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

autodie breaks the open set by utf8::all #7

Closed
wchristian opened this issue Jul 25, 2011 · 6 comments
Closed

autodie breaks the open set by utf8::all #7

wchristian opened this issue Jul 25, 2011 · 6 comments

Comments

@wchristian
Copy link

I've written a test to demonstrate the problem: https://gist.github.com/1103863

utf8::all works fine, but when autodie is invoked, the encoding is stripped from open().

In order to avoid browser shenanigans it's probably best to get the test via git:

git clone git://gist.github.com/1103863.git gist-1103863

@doherty
Copy link
Owner

doherty commented Jul 29, 2011

Thank you for this! Do you have any idea what the underlying problem is (or the solution)?

@wchristian
Copy link
Author

That was actually reported for autodie before, but apparently didn't draw enough interest. And there's an explanation, plus maybe a solution, but i actually do not understand it: https://rt.cpan.org/Ticket/Display.html?id=54777

@doherty
Copy link
Owner

doherty commented Mar 3, 2012

I don't understand the solution provided there either, but that looks like it is actually an issue with autodie, so I'm closing this and pinging the autodie ticket.

@doherty doherty closed this as completed Mar 3, 2012
@wchristian
Copy link
Author

Fine with me. I hope something comes out of that. :)

@doherty doherty reopened this Jul 10, 2012
@doherty
Copy link
Owner

doherty commented Jul 10, 2012

autodie 2.12 fixes the interaction with open - we should require that version as a minimum.

doherty added a commit that referenced this issue Jul 10, 2012
autodie obliterated the IO layers set by the open pragma prior
to version 2.12, so now we refuse to run with autodie before
that bug was fixed.

RT #54777: autodie loses open pragma
GH #7: autodie breaks the open set by utf8::all
doherty added a commit that referenced this issue Jul 29, 2012
autodie obliterated the IO layers set by the open pragma prior
to version 2.12, so now we refuse to run with autodie before
that bug was fixed.

RT #54777: autodie loses open pragma
GH #7: autodie breaks the open set by utf8::all
@doherty
Copy link
Owner

doherty commented Jul 29, 2012

Fixed in 0.005.

@doherty doherty closed this as completed Jul 29, 2012
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

No branches or pull requests

2 participants