pub fn code_page_for_sort_id(sort_id: u8) -> Option<u16>Expand description
Returns the Windows code page number for a SQL collation’s SortId.
Unlike encoding_for_sort_id, this reports the true code page even for
the OEM pages encoding_rs cannot decode (437, 850), so callers can
produce an accurate “unsupported code page” error. Returns None for
unknown SortIds.