# std::locale::encoding

From cppreference.com
< cpp‎ | locale‎ | locale

std::text_encoding encoding() const; |  |

Returns a `std::text_encoding` object that represents the implementation-defined encoding scheme associated with the locale *this.

### Return value

A `std::text_encoding` object that represents the associated encoding scheme.

### Example

| This section is incomplete Reason: no example

### See also

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/locale/locale/encoding&oldid=179686"