It's important to note that this is referring to fluid ounces (fl oz), which is a unit of volume commonly used for liquids.
There are also avoirdupois ounces, which are a unit of weight, and you wouldn't use those to measure liters.