def parse_detexify_id(detexify_id):
    """Parse an id from Detexify into package, encoding and symbol."""
    splitted = detexify_id.split("-")
    package, encoding, symbol = splitted[0], splitted[1], splitted[2:]
    symbol = "-".join(symbol)
    symbol = symbol.replace("_", "\\")
    return (package, encoding, symbol)