Author |
Topic |
|
HaraldBluetooth
New Member
Denmark
77 Posts |
Posted - 24 Jan 2010 : 18:12:47
|
For a very long time the IMDB scripts haven't handeled some special danish and some scandinavian and german characters properly.
It's about the following characters:
æ/Æ, ø/Ø, å/Å, ä/Ä, ö/Ö, ü/Ü
This problem is related to all imported fields and especially for importing of actors. An example:
Uncorrect import:
Name/Character/ID
Erno Muller/Hr. S/rlang§0618143
Should be:
Erno Müller/Hr. Sørlang/0618143
|
Edited by - HaraldBluetooth on 25 Jan 2010 17:10:31 |
|
JDommi
Administrator
Germany
4644 Posts |
Posted - 25 Jan 2010 : 20:45:13
|
Well, I don't have tested all chars - only the special german characters: ä => ä - ö => ö - ü =>ü - Ä => Ä - Ö => Ö - Ãœ => Ü - ß => ß For these I have just sent Alessio a javascript routine for the HTML cards. The routine replaces these chars (or string parts) by the wanted equivalent. So you don't have to re-import all data again. The other chars like æ/Æ, ø/Ø, å/Å can easily be added to the conversion list.
|
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
HaraldBluetooth
New Member
Denmark
77 Posts |
Posted - 26 Jan 2010 : 09:51:14
|
Hi JDommi - thanks for your answer - that sounds terrific, but when I see the imported data on the Crew tab (in quick edit view) my example is imported as:
Name: Erno Muller Character: Hr. S ID: rlang§0618143
where it should be:
Name: Erno Müller Character: Hr. Sørlang ID: 0618143
I assume, that the wrong information is imported to the Access database. At the moment I don't have Microsoft Access installed on my PC, so I can't check the imported data in the database.
Another example:
Name: L Character: rke Winther Andersen ID: Katrine§1163057
should be:
Name: Lærke Winther Andersen Character: Katrine ID: 1163057
So I can't see how I can avoid a re-import of the data or edit manual until the IMDB scripts are changed.
|
Edited by - HaraldBluetooth on 26 Jan 2010 09:53:41 |
|
|
JDommi
Administrator
Germany
4644 Posts |
Posted - 26 Jan 2010 : 11:20:27
|
Mmmmh (thinking) Well, that's a problem. I haven't checked the actors on that behaviour. I only had a few on movies and episodes containing those chars. On that all worked fine... even if the title has to be "corrected" the links to episode and pics worked okay. After work I will have a look if I have such actors and how the behaviour will be. But I'm confident that this is only an affect in output as long as the special char(s) don't contain the paragraph sign... |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
Edited by - JDommi on 26 Jan 2010 11:24:06 |
|
|
Prinz
Senior Member
Germany
1522 Posts |
Posted - 26 Jan 2010 : 16:37:16
|
Many UTF8 Conversions were missing or incorrect.
Some Data was even imported in the incorrect Database Field because of that. So deletion and reimport of is at least many times mandatory to get the correct Data.
Added/Corrected the Conversions form an official conversion table (and a bit regex magic in a text editor)
http://www.mediafire.com/download.php?ul0hzliejkm |
Edited by - Prinz on 26 Jan 2010 16:37:35 |
|
|
HaraldBluetooth
New Member
Denmark
77 Posts |
Posted - 26 Jan 2010 : 18:48:52
|
Thanks a lot Prinz - that worked like a charm - pure magic. No more errors in actors names. I've also checked the other imported fields and those are correct too.
Will this change be saved for future updates of the IMDB scripts ??
|
Edited by - HaraldBluetooth on 26 Jan 2010 19:02:15 |
|
|
Prinz
Senior Member
Germany
1522 Posts |
Posted - 26 Jan 2010 : 19:35:40
|
quote: Originally posted by HaraldBluetooth Will this change be saved for future updates of the IMDB scripts ??
Only if Alessio takes the changed script as new base for future changes.
Script Files are always replaced during the update.
Edit:
I send an E-Mail with all changes to scripts: imdb, dvdempire and thetvdb to Alessio |
Edited by - Prinz on 26 Jan 2010 20:16:37 |
|
|
JDommi
Administrator
Germany
4644 Posts |
Posted - 26 Jan 2010 : 20:51:48
|
Great Prinz, but would be even greater if you would modify all scripts that way :P As many other scripts do not substitute every special character. Really great, Prinz :) |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
Prinz
Senior Member
Germany
1522 Posts |
Posted - 26 Jan 2010 : 20:57:38
|
At the moment i done it only for the imdb and thetvdb. dvdempire was an unrelated change.
I will try to change the rest of the scripts, but with the other scripts i must additionally first check if there are all the conversation commands in place. |
|
|
JDommi
Administrator
Germany
4644 Posts |
Posted - 26 Jan 2010 : 21:21:14
|
No problem if it lasts a while ;) |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
HaraldBluetooth
New Member
Denmark
77 Posts |
Posted - 27 Jan 2010 : 09:42:08
|
For your information, Alessio reacted very fast - the changes made by Prinz is already included in the update today...
|
|
|
Prinz
Senior Member
Germany
1522 Posts |
Posted - 27 Jan 2010 : 16:40:33
|
I found a bit more complete conversion table. I will try first make a complete table and after that i at them to all scripts.
It would much simpler if magic script had a (File-) include function like most programming languages. One could simple make one File with all conversions and simply include it in all Scripts with one line. |
|
|
|
Topic |
|