Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-01

UTF-8 decoding

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mark Morgan Lloyd

What does Utf8Decode() do if the input is incomplete because it's arriving slowly over a serial or telnet connection?

By analogy with StrToInt() etc., is there be a TryUtf8Decode() which sets a flag if the parameter is well-formed?

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]