![]() ![]() |
Jun 6 2012, 07:04
Post
#1
|
|
|
Member Group: Full Members Posts: 9 Joined: 6-June 12 Member No.: 16548 Mp3tag Version: 2.51 |
Hi, firstable... I'm new here, but I'm using mp3tag for a very long time and it's a great software.
Ok, I'm using an (edited) export script that I've found on this forum, the code is this: CODE $filename(html) <html> <head> <meta name="GENERATOR" content="Mp3tag - http://www.mp3tag.de"> <title>%artist% - %album%: cdcover front</title> </head> <body> <style type="text/css"> <!-- #border { position:absolute; top:10px; left:10px; width:12cm; height:12cm; padding:10px; border:1px solid #0000FF; } #content { position:absolute; top:10px; left:10px; width:12cm; height:12cm; padding:10px; } #footer { position:absolute; top:14cm; font-size:8pt; } --> </style> <div id="border"></div> <div id="content"> <center><h3>%artist%: %album% (%year%)</h3></center> <table border="0" style="width:11.7cm;"> $loop(%_filename_ext%) <tr><td><font face="Meiryo UI" size="1">%track%</font></td><td align="center">|<font face="Meiryo UI" size="1"> <b>%title%</b>|</font></td>|<td align="right"><font face="Meiryo UI" size="1">%_length%</font></td></tr> $loopend() <tr><td></td><td></td><td align="right"><font face="Meiryo UI" size="1"><b>%_total_time%</b></font></td></tr> </table> </div> <div id="footer">generiert am %_datetime% mit %_app% - dem <b>universellen</b> ID3-Tag Editor <a href="http://www.mp3tag.de/">www.mp3tag.de</a></div> </body> </html> So i can just paste the whole thing on RYM when I edit an album info. The problem is that when the title of the track is in chinese or any non latin character... I get a "?". How can I resolve this? thanks |
|
|
|
Jun 6 2012, 07:44
Post
#2
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
Hi, firstable... I'm new here, but I'm using mp3tag for a very long time and it's a great software. Ok, I'm using an (edited) export script that I've found on this forum, the code is this: ... So i can just paste the whole thing on RYM when I edit an album info. The problem is that when the title of the track is in chinese or any non latin character... I get a "?". How can I resolve this? thanks Provided that the script is functional in order, then you can check the font, whether Unicode characters will be shown without problems, probably use another font. Probably the directive $filename (html) should be adapted to UTF-8. For the only purpose of copying some text into a web app text edit frame, you do not need to create a html report. Use the export directive $filename($getEnv('USERPROFILE')'\Desktop\My Report.txt',UTF-8) and export the plain content from the tag-fields. DD.20120606.0844.CEST -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Jun 6 2012, 07:54
Post
#3
|
|
|
Member Group: Full Members Posts: 9 Joined: 6-June 12 Member No.: 16548 Mp3tag Version: 2.51 |
Provided that the script is functional in order, then you can check the font, whether Unicode characters will be shown without problems, probably use another font. Probably the directive $filename (html) should be adapted to UTF-8. For the only purpose of copying some text into a web app text edit frame, you do not need to create a html report. Use the export directive $filename($getEnv('USERPROFILE')'\Desktop\My Report.txt',UTF-8) and export the plain content from the tag-fields. DD.20120606.0844.CEST Hi, I've changed html to utf-8 (the font too), but I still get this: 01 | ???? | 04:40 I can't get the export script to work too... thanks. |
|
|
|
Jun 6 2012, 08:26
Post
#4
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
... I've changed html to utf-8 (the font too), but I still get this: 01 | ???? | 04:40 I can't get the export script to work too ... Where do you get the question marks? While displaying the html page in the browser? What editor do you use? Notepad++ should display Unicode characters, but I am not sure; WordPad does it. Are you able to manually fill in language specific characters into the RYM edit field, which later on will be displayed correctly on their web page? DD.20120606.0925.CEST This post has been edited by DetlevD: Jun 9 2012, 07:19 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Jun 6 2012, 10:51
Post
#5
|
|
|
Member Group: Full Members Posts: 9 Joined: 6-June 12 Member No.: 16548 Mp3tag Version: 2.51 |
Where do you get the question marks? While displaying the html page in the browser? What editor do you use? Notepad++ should display Unicode characters. Are you able to manually fill in language specific characters into the RYM edit field, which later on will be displayed correctly on their web page? DD.20120606.0925.CEST Yes, while displaying the html page. I use notepad++. No, I get ??? even after pasted them. |
|
|
|
Jun 6 2012, 11:06
Post
#6
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
Yes, while displaying the html page. I use notepad++. No, I get ??? even after pasted them. What html page? The local html page, created by Mp3tag report or the RYM web page? I am curious what's going on there. Maybe some other Mp3tag users can help, especially from your region? Can you put some of such special characters into your next forum post? This forum should be able to display the correct signs. Example: 7-Zipのホームページ(日本語) DD.20120606.1205.CEST This post has been edited by DetlevD: Jun 6 2012, 14:05 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Jun 6 2012, 13:08
Post
#7
|
|
|
Member Group: Full Members Posts: 9 Joined: 6-June 12 Member No.: 16548 Mp3tag Version: 2.51 |
What html page? The local html page, created by Mp3tag report or the RYM web page? I am curious what's going on there. Maybe some other user can help? Can you put some of these special characters into your next forum post? This forum should be able to display the correct signs. Example: 7-Zipのホームページ(日本語) DD.20120606.1205.CEST the one created by mp3tag, let me give you an example with some screenshot (korean): 1.jpg this is the screen straight out of mp3tag 2.jpg is the one that came out in html page 7-Zipのホームページ(日本語) This post has been edited by Abandoned Mine: Jun 6 2012, 13:08 |
|
|
|
Jun 6 2012, 13:32
Post
#8
|
|||
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
... 7-Zipのホームページ(日本語) Oops, a little misunderstanding, please copy the filename of the second file from your example album (or from all files) here into your forum post. If that works, then you can probably do it also on the RYM website. Why does your screenshot show the Japanese Yen-Backslash but not the Korean Won-Backslash? I have no problem to fill a tag-field with Japanese characters, report the tag-field into utf-8 text file, copy the text from the report output file into clipboard and paste it here into the forum message ... Test: 7-Zipのホームページ(日本語) Remark: While in forum edit mode all characters are seen correct, even those in the round brackets. In forum read mode the characters in the bracket clamb are shown as not displayable. DD.20120606.1452.CEST This post has been edited by DetlevD: Jun 6 2012, 14:10 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
||
|
|
|||
Jun 6 2012, 14:23
Post
#9
|
||||
|
Member Group: Full Members Posts: 9 Joined: 6-June 12 Member No.: 16548 Mp3tag Version: 2.51 |
Oops, a little misunderstanding, please copy the filename of the second file from your example album (or from all files) here into your forum post. You mean like this:If that works, then you can probably do it also on the RYM website. Why does your screenshot show the Japanese Yen-Backslash but not the Korean Won-Backslash? I have no problem to fill a tag-field with Japanese characters, report the tag-field into utf-8 text file, copy the text from the report output file into clipboard and paste it here into the forum message ... Test: 7-Zipのホームページ(日本語) Remark: While in forum edit mode all characters are seen correct, even those in the round brackets. In forum read mode the characters in the bracket clamb are shown as not displayable. DD.20120606.1452.CEST 1/5 | ?? ??| 03:50 2/5 | ?? 4?| 04:59 3/5 | Healing| 02:35 4/5 | Good Night| 04:31 5/5 | ???| 03:49 00:19:44 with attached screen QUOTE Why does your screenshot show the Japanese Yen-Backslash but not the Korean Won-Backslash? I don't actually know that...thanks. |
|||
|
|
||||
Jun 6 2012, 15:08
Post
#10
|
||
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
Hm, I think we are not on the right way.
Maybe the export script is not fit enough to display UTF-8 characters. Did you say the HTML code is functional in order? Have a look at this picture ... ... it will work ... ... if you put this line into the html head section ... CODE '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">' DD.20120606.1608.CEST This post has been edited by DetlevD: Jun 6 2012, 15:23 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
||
Jun 6 2012, 15:42
Post
#11
|
||
|
Member Group: Full Members Posts: 9 Joined: 6-June 12 Member No.: 16548 Mp3tag Version: 2.51 |
Hm, I think we are not on the right way. Maybe the export script is not fit enough to display UTF-8 characters. Did you say the HTML code is functional in order? Have a look at this picture ... ... it will work ... ... if you put this line into the html head section ... CODE '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">' DD.20120606.1608.CEST Thanks, but I can't get it to work... Here's the code: CODE $filename(html) Is it the same that you've used? <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>%artist% - %album%: cdcover front</title> </head> <body> <style type="text/css"> <!-- #border { position:absolute; top:10px; left:10px; width:12cm; height:12cm; padding:10px; border:1px solid #0000FF; } #content { position:absolute; top:10px; left:10px; width:12cm; height:12cm; padding:10px; } #footer { position:absolute; top:14cm; font-size:8pt; } --> </style> <div id="border"></div> <div id="content"> <center><h3>%artist%: %album% (%year%)</h3></center> <table border="0" style="width:11.7cm;"> $loop(%_filename_ext%) <tr><td><font face="Meiryo UI" size="1">%track%</font></td><td align="center">|<font face="Meiryo UI" size="1"> <b>%title%</b>|</font></td>|<td align="right"><font face="Meiryo UI" size="1">%_length%</font></td></tr> $loopend() <tr><td></td><td></td><td align="right"><font face="Meiryo UI" size="1"><b>%_total_time%</b></font></td></tr> </table> </div> <div id="footer">generiert am %_datetime% mit %_app% - dem <b>universellen</b> ID3-Tag Editor <a href="http://www.mp3tag.de/">www.mp3tag.de</a></div> </body> </html> thanks. |
|
|
|
||
Jun 6 2012, 15:50
Post
#12
|
|
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
Thanks, but I can't get it to work... Here's the code: [code]$filename(html) ... Read my post #2 above. Obviously you do not write the report as UTF-8 encoded text file, and there is missing the BOM mark. Look at this working Mp3tag report script ... CODE $filename($getEnv('USERPROFILE')'\Desktop\Test.html',UTF-8) '<html>' '<head>' '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">' '<title>'%ARTIST%' - '%ALBUM%': cd cover front</title>' '</head>' '<body>' '<style type="text/css"><!--' '#border{position:absolute;top:10px;left:10px;width:12cm;height:12cm;padding: 10px;border:1px solid #0000FF;}' '#content{position:absolute;top:10px;left:10px;width:12cm;height:12cm;padding :10px;}' '#footer{position:absolute;top:14cm;font-size:8pt;}' '--></style>' '<div id="border"></div>' '<div id="content">' '<center><h3>'%ARTIST%': '%ALBUM%[' ('%YEAR%')']'</h3></center>' '<table border="0" style="width:11.7cm;">' $loop(%_filename_ext%) '<tr>' '<td><font face="Meiryo UI" size="1">'%TRACK%'</font></td>' '<td align="center"><font face="Meiryo UI" size="1"><b>'%TITLE%'</b></font></td>' '<td align="right"><font face="Meiryo UI" size="1">'%_length%'</font></td>' '</tr>' $loopend() '<tr>' '<td></td>' '<td></td>' '<td align="right"><font face="Meiryo UI" size="1"><b>'%_total_time%'</b></font></td>' '</tr>' '</table>' '</div>' '</body>' '</html>' DD.20120606.1650.CEST This post has been edited by DetlevD: Jun 9 2012, 07:22 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
Jun 6 2012, 17:30
Post
#13
|
||
|
Member Group: Full Members Posts: 9 Joined: 6-June 12 Member No.: 16548 Mp3tag Version: 2.51 |
Read my post #2 above. Obviously you do not write the report as UTF-8 encoded text file, and there is miissing the BOM mark. Look at this working Mp3tag report script ... CODE $filename($getEnv('USERPROFILE')'\Desktop\Test.html',UTF-8) '<html>' '<head>' '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">' '<title>'%ARTIST%' - '%ALBUM%': cd cover front</title>' '</head>' '<body>' '<style type="text/css"><!--' '#border{position:absolute;top:10px;left:10px;width:12cm;height:12cm;padding: 10px;border:1px solid #0000FF;}' '#content{position:absolute;top:10px;left:10px;width:12cm;height:12cm;padding :10px;}' '#footer{position:absolute;top:14cm;font-size:8pt;}' '--></style>' '<div id="border"></div>' '<div id="content">' '<center><h3>'%ARTIST%': '%ALBUM%[' ('%YEAR%')']'</h3></center>' '<table border="0" style="width:11.7cm;">' $loop(%_filename_ext%) '<tr>' '<td><font face="Meiryo UI" size="1">'%TRACK%'</font></td>' '<td align="center"><font face="Meiryo UI" size="1"><b>'%TITLE%'</b></font></td>' '<td align="right"><font face="Meiryo UI" size="1">'%_length%'</font></td>' '</tr>' $loopend() '<tr>' '<td></td>' '<td></td>' '<td align="right"><font face="Meiryo UI" size="1"><b>'%_total_time%'</b></font></td>' '</tr>' '</table>' '</div>' '</body>' '</html>' DD.20120606.1650.CEST Thanks, is working now |
|
|
|
||
Jun 6 2012, 17:58
Post
#14
|
||
![]() Member Group: Full Members Posts: 4129 Joined: 26-May 06 From: Wuppertal, Germany, Planet Earth Member No.: 3194 Mp3tag Version: 2.54 |
Thanks, is working now ... but it looks not so very nice, because of the confused used pipe symbols. The CD cover could look a little bit better without the pipe symbols ... DD.20120606.1920.CEST This post has been edited by DetlevD: Jun 6 2012, 18:29 -------------------- * Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥ |
|
|
|
||
Jun 7 2012, 05:53
Post
#15
|
||
|
Member Group: Full Members Posts: 9 Joined: 6-June 12 Member No.: 16548 Mp3tag Version: 2.51 |
... but it looks not so very nice, because of the confused used pipe symbols. The CD cover could look a little bit better without the pipe symbols ... DD.20120606.1920.CEST You see, for rym you need to put those | symbols. It's because of that that I've edited (badly) that script. It need to be put in like this: track number|title|lenght. This post has been edited by Abandoned Mine: Jun 7 2012, 05:53 |
|
|
|
||
![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 11:13 |