Thursday 03 December 2026 15:14:52 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

Legacy encoding

An older character set, such as ISO-8859 or Windows-125x, used instead of UTF-8.

A legacy encoding is an older system for representing text, such as ISO-8859 or Windows-125x. Unlike UTF-8, which can represent a wide range of characters using variable-length sequences, many legacy encodings use single-byte values for characters. Software may still support them for compatibility with older data and systems.

Encoding matters in security because text-processing code must handle each representation correctly. In the Ruby memory-safety issue described in the article, certain legacy encodings are associated with a heap-buffer overflow during string case conversion. This does not mean every use of a legacy encoding is vulnerable; the risk depends on the affected Ruby version and whether input can reach the vulnerable operation. Defenders should patch the Ruby runtime and assess services that process user-controlled text, rather than assuming that an application’s use of UTF-8 eliminates runtime risk.

← WIKICROOK index