I'm trying to write a WOAS frame with UTF-8 encoding and getting an error.
"Invalid URL in WOAS (��h
[that's supposed to be the url at the end there]
write.id3v2.php:GenerateID3v2FrameData() is calling it from line 1142.
write.id3v2.php:IsValidURL() fails with UTF-8 encoding
-
- User
- Posts:14
- Joined:Fri Jan 13, 2006 7:11 am
-
- getID3() v1 developer
- Posts:1477
- Joined:Fri May 04, 2001 4:00 pm
- Are you a spambot?:no
- Location:Northern Ontario, Canada
- Contact:
Changed toBetter fix would be to rewrite IsValidURL() to handle other encodings.
Code: Select all
$this->errors[] = 'Invalid URL in '.$frame_name.' ('.$source_data_array['data'].')';
Code: Select all
$this->warnings[] = 'Invalid URL in '.$frame_name.' ('.$source_data_array['data'].')';
-
- User
- Posts:16
- Joined:Thu Feb 02, 2006 3:19 pm
I don't know if this belongs here, but I'm always getting 'invalid url'-errors in Wxxx when I set:
I tried different encodings and urls (also "") - but no luck at all ...
I looked into the code and for me (beginner) it looks like there's a prob in the function IsValidURL() - that's why I'm posting it here ...
Code: Select all
$tagwriter->merge_existing_data = true;
I looked into the code and for me (beginner) it looks like there's a prob in the function IsValidURL() - that's why I'm posting it here ...