Skip to main content

parse_po

Function parse_po 

Source
pub fn parse_po(input: &str) -> Result<PoFile, ParseError>
Expand description

Parses PO content into the owned PoFile representation.

Line endings are normalized before parsing, and the UTF-8 BOM is ignored when present.

ยงErrors

Returns ParseError when the input is not valid PO syntax.