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.
Convert Spanish text to QL (utf2ql)
Re: Convert Spanish text to QL (utf2ql)
Hum,
Thank you for sharing it. Very interesting tool.
I will need to use it (I hope soon)
Thank you for sharing it. Very interesting tool.
I will need to use it (I hope soon)
-
- Font of All Knowledge
- Posts: 4655
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: Convert Spanish text to QL (utf2ql)
Hibadaman 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.
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.
Regards,
Derek
Derek
Re: Convert Spanish text to QL (utf2ql)
Retrowiki has a vibrant QL comunity. Lots of interesting stuff lately.
SINCLAIR ZX81/48K/+/128K/+2gris/QL SP/QL UK ACORN Electron/ModelB/Master128/A3020 OLIVETTI Prodest 128S
ATARI 2600/130XE/520ST+/1040STFM/4160STE/MegaSTE/Falcon030/Falcon030 Tower
ORIC 1/Atmos MSX Sony75p/SannoSPCsuper/MSX2+Sakhr370 AMSTRAD 464/6128/PCW8512
COMMODORE 64/64C/PistormA500+ THOMSON TO7-70/TO8 EXELVISION EXL100 ELAN ENTERPRISE 1.6Mb
APPLE IIc/IIGS/6500G3 DRAGON64 TI99/4A AQUARIUS HectorHRX EinsteinTC01 Jupiter Ace Wilco2009
ATARI 2600/130XE/520ST+/1040STFM/4160STE/MegaSTE/Falcon030/Falcon030 Tower
ORIC 1/Atmos MSX Sony75p/SannoSPCsuper/MSX2+Sakhr370 AMSTRAD 464/6128/PCW8512
COMMODORE 64/64C/PistormA500+ THOMSON TO7-70/TO8 EXELVISION EXL100 ELAN ENTERPRISE 1.6Mb
APPLE IIc/IIGS/6500G3 DRAGON64 TI99/4A AQUARIUS HectorHRX EinsteinTC01 Jupiter Ace Wilco2009