connection.set_character_set(charset, collation=None)
Description
This method sets the character set and collation of the database connection.
The character sets of the client and server must be the same. Otherwise, an error is reported.
Prototype
connection.set_character_set(charset, collation=None)
Parameters
|
Keyword |
Description |
|---|---|
|
charset |
Character set of the database connection. |
|
collation |
Collation of the database connection. The default value is None. |
Return Value
None
Examples
For details, see Examples: Common Operations.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot