[Cuis-dev] Any quick way to convert a UTF16 text to Latin1 ?

Nicola Mingotti nmingotti at gmail.com
Sat Jun 11 01:02:11 PDT 2022


Hi Jaun,

I can share this data file, it is attached.
It is the output reading of a machine who does a NIR analysis on a corn
sample.
Once the machine GUI has been set to work in Italian.

bye
Nicola





On Sat, Jun 11, 2022 at 2:02 AM Juan Vuletich <JuanVuletich at zoho.com> wrote:

> On 6/10/2022 8:25 PM, Nicola Mingotti via Cuis-dev wrote:
>
> Hi guys,
>
> as title says, I am converting a script from Python to Cuis.
> It reads an XML file and does stuff consequently. Unfortunately the
> XML is in UTF-16 (we are running in Windows).
>
> I am sure the file content is convertible to Latin-1 since it is Italian
> text stuff.
>
> Do you have any quick way to solve it from Cuis ?
>
> The XML part is working, already tested converting UTF16 to Latin-1
> with an external editor.
>
> bye
> Nicola
>
>
> Hi Nicola,
>
> Can you send me (to the mail list or to juan at jvuletich.org ) one of those
> files in a zip file? I'll show you how to do it, but I need an example. The
> zip file is to ensure that I get it exactly as you have it.
>
> Cheers,
>
> --
> Juan Vuletichwww.cuis-smalltalk.orghttps://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Devhttps://github.com/jvuletichhttps://www.linkedin.com/in/juan-vuletich-75611b3https://independent.academia.edu/JuanVuletichhttps://www.researchgate.net/profile/Juan-Vuletichhttps://patents.justia.com/inventor/juan-manuel-vuletichhttps://twitter.com/JuanVuletich
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220611/cbcbccee/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: expo-test-IT-UTF16.zip
Type: application/zip
Size: 2618 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220611/cbcbccee/attachment.zip>


More information about the Cuis-dev mailing list