O'Reilly logo

Delphi Cookbook - Second Edition by Daniele Teti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cope with the encoded Internet world using System.NetEncodings

Internet is the land of the encodings! URIs are encoded, HTML provide specific encodings, e-mails works because of the mime encoding, and the REST service works because in some way the client and server can talk each other using some sort of encodings! There are many kinds of encoding for different purposes, but in this recipe we will talk about the encodings handled by the classes contained in the System.NetEncodings.pas unit.

Getting ready

The unit System.NetEncodings contains the following classes:

  • TNetEncoding: This class is a factory for the actual encoding classes; moreover, it serves as a base class for all the other classes
  • THTMLEncoding: This class provides methods to encode and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required