Lines Matching refs:iocharset
174 /* Here we are select the iocharset and the codepage for NLS.
182 struct nls_table *iocharset;
205 iocharset = NULL;
206 user.iocharset[NCP_IOCSNAME_LEN] = 0;
207 if (!user.iocharset[0] || !strcmp(user.iocharset, "default")) {
208 iocharset = load_nls_default();
210 } else if (!strcmp(user.iocharset, "utf8")) {
211 iocharset = load_nls_default();
214 iocharset = load_nls(user.iocharset);
215 if (!iocharset) {
225 server->nls_io = iocharset;
249 strcpy(user.iocharset, "utf8");
254 strncpy(user.iocharset, server->nls_io->charset, len);
255 user.iocharset[len] = 0;