Skip Menu |

This queue is for tickets about the Net-LastFM-Submission CPAN distribution.

Report information
The Basics
Id: 52414
Status: open
Priority: 0/
Queue: Net-LastFM-Submission

People
Owner: Nobody in particular
Requestors: meh.ffff [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Unicode problem.
Date: Fri, 4 Dec 2009 04:50:41 +0100
To: bug-Net-LastFM-Submission [...] rt.cpan.org
From: "meh. I don't care" <meh.ffff [...] gmail.com>
I spent the last 2 days trying to understand what was breaking my submissions. Well, in the end just deleting line 218 |Encode::_utf8_off($data);| from sub encode_data solved it. I don't know why you did it but it breaks japanese tags. Could you remove that line or explain me how to get right unicode without removing it? I couldn't find a way to do it without patching the module. Thank you.
Hi! Could you send me your test script? Did you see this example script http://github.com/sharifulin/net-lastfm-submission/blob/master/examples/test.pl ? -- use Perl or die;
Subject: Re: [rt.cpan.org #52414] Unicode problem.
Date: Tue, 15 Dec 2009 21:51:04 +0100
To: Anatoly Sharifulin via RT <bug-Net-LastFM-Submission [...] rt.cpan.org>
From: "meh. I don't care" <meh.ffff [...] gmail.com>
Sorry but I didn't write a reduced test case. Anyway, I tested two things, with and without that line and without it the submit/nowplaying is always sent right, instead with the line it gets broken encoding when I'm reading the tags from file and not as a string from a pipe. Somehow the strings from the Music::Tag do something weird and they get double decoded or something like that. If it always works without disabling the utf8 flag why don't you just remove that line? Sincerely I don't understand why you're disabling it :( If you want to check the script this is the url: http://github.com/meh/LOLastfm/blob/master/bin/LOLastfm.pl It breaks the encoding when using Player::Other. Thank you for your time and for the module :) On Tue, Dec 15, 2009 at 12:22:50PM -0500, Anatoly Sharifulin via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=52414 > > > Hi! > > Could you send me your test script? > Did you see this example script > http://github.com/sharifulin/net-lastfm-submission/blob/master/examples/test.pl > ? > > -- > use Perl or die;