Help converting Hex UTF-8 bytes to character

Trevor DeVore lists at mangomultimedia.com
Thu May 31 16:13:49 EDT 2018


Hi,

I have a text file that contains Hex UTF-8 bytes encode in the following
manner:

```
\xC3\xB3
```

This particular sequence represents the following character:

```
ó
```

I need to read this file in, converting these hex bytes to the proper
character. For example, the following string:

```
versi\xC3\xB3n HTML5
```

should be read in as:

```
versión HTML 5
```

Does anybody know how to use the C3 B3 hex values to generate the proper
character?

Thanks,

-- 
Trevor DeVore
ScreenSteps
www.screensteps.com



More information about the Use-livecode mailing list