Encoding
No edit summary
No edit summary
Line 1: Line 1:
In Ocl you can use the standard .net Encoding static class:
In OCL, you can use the standard .net Encoding static class:
 
* Encoding.ASCII.GetString(bytearray)
Encoding.ASCII.GetString(bytearray)
If you have data you think is encoded with ISO-8859-1, you should try and decode it with:
 
* Encoding.Default.GetString(bytearray)
If you have data that you think is encoded with ISO-8859-1you should try and decode it with:
 
Encoding.Default.GetString(bytearray)
[[Category:OCL]]
[[Category:OCL]]

Revision as of 07:47, 28 February 2023

This page was created by Hans.karlsen@mdriven.net on 2019-11-21. Last edited by Stephanie@mdriven.net on 2025-02-04.

In OCL, you can use the standard .net Encoding static class:

  • Encoding.ASCII.GetString(bytearray)

If you have data you think is encoded with ISO-8859-1, you should try and decode it with:

  • Encoding.Default.GetString(bytearray)
MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments