Thank you very much. Your print_version is exactly what I needed to move on.
Here is my actual working code:
Please, can you help me how to fix bad diacritics in
Section List and
Article List on my Kindle (articles have correct diacritics). The website uses cp1250 encoding.