  We extend Faltings's "almost purity theorem" on finite etale extensions of
perfectoid algebras (as generalized by Scholze and Kedlaya-Liu) to the ramified
case, without restriction on the discriminant. The key point is a perfectoid
version of Riemann's extension theorem. Categorical aspects of uniform Banach
algebras and perfectoid algebras are revisited beforehand.
