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

Comments

Projects
None yet
2 participants
@wchristian

wchristian commented Jul 25, 2011

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

This comment has been minimized.

Owner

doherty commented Jul 29, 2011

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

@wchristian

This comment has been minimized.

wchristian commented Jul 29, 2011

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

This comment has been minimized.

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 Mar 3, 2012

@wchristian

This comment has been minimized.

wchristian commented Mar 3, 2012

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

@doherty doherty reopened this Jul 10, 2012

@doherty

This comment has been minimized.

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

Don't permit running with autodie < 2.12
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

Don't permit running with autodie < 2.12
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

This comment has been minimized.

Owner

doherty commented Jul 29, 2012

Fixed in 0.005.

@doherty doherty closed this Jul 29, 2012

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