Page 1 of 1

Convert Spanish text to QL (utf2ql)

Posted: Thu May 16, 2024 10:56 pm
by badaman
Fortunately, we are seeing how some new games for QL include a Spanish version, but this language has some peculiarities, and punctuation marks such as accents and opening marks for exclamations and questions.

With the bash program for Linux called utf2ql.sh it is possible to convert a UTF-8 text written in Spanish, or copied from the translator, with its correct punctuation symbols, to a document with the QL character set.

Surely there will be some program already prepared, but I wanted to spend some time creating my own version.

The same program can be useful to convert other languages, it is only necessary to create the conversion table within the program listing.

I leave the link to review the program and how to use it:

https://sinclairqles.wordpress.com/2024/05/16/utf2ql/

https://retrowiki.es/viewtopic.php?f=98&t=200040490

The texts are in Spanish, but as I always remember, the automatic translator is our friend.

Update. The same script is also included in Python.

I attach the program here. The zip file includes a test text.

Re: Convert Spanish text to QL (utf2ql)

Posted: Wed Jun 19, 2024 12:39 pm
by Popopo
Hum,
Thank you for sharing it. Very interesting tool.
I will need to use it (I hope soon)

Re: Convert Spanish text to QL (utf2ql)

Posted: Thu Jun 20, 2024 7:09 am
by Derek_Stewart
badaman wrote: Thu May 16, 2024 10:56 pm https://retrowiki.es/viewtopic.php?f=98&t=200040490

The texts are in Spanish, but as I always remember, the automatic translator is our friend.
Hi

I had a look at Retrowiki, which I found interesting, I had to use Google Chrome automatic web page translation to read the content, as I do not know enough Spanish enough to read the Retrowiki.

I have registered as a user, so you might see some strange Spanish translated messages.

Re: Convert Spanish text to QL (utf2ql)

Posted: Sun Jun 23, 2024 4:50 am
by furellax
Retrowiki has a vibrant QL comunity. Lots of interesting stuff lately.