[Inquietud] Por que UTF-8 no exporta tildes y iso-8859-1 si

Iniciado por graphixx, Agosto 29, 2014, 10:53:25 AM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Agosto 29, 2014, 10:53:25 AM Ultima modificación: Agosto 29, 2014, 11:08:59 AM por Expermicid
Resulta que cuando exporto una base de datos con UTF8 por defecto quedan mal las tildes y Ñ, encambio con iso-8859-1 si
Pero me parece no recuerdo bien que cuando las importo con UTF8 por defecto si coje las tildes, muy raro no ?

Esta es la configuracion del hosting:
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Esta es la configuracion por defecto de la tabla:
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Asi es como se ve por defecto la tabla, fijense que soporta tildes y Ñ:
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Ahora si le doy exportar rapido:
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Veran como ese tipo de exportacion rapida, no soporta ni tildes ni Ñ:
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

En cambio si le doy exportacion personalizada:
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Vemos como esta con iso-8859-1 si que soporta las tildes y las Ñ:
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

Tengo la duda, hay algo que falta configurar en las opciones del Servidor?

Si creo las tablas asi, estan bien creadas para tildes y Ñ?
Código: sql

CREATE TABLE usuarios (
  id INT(11) DEFAULT NULL,
  cedula VARCHAR(30) DEFAULT NULL,
  codigo VARCHAR(15) DEFAULT NULL,
  email VARCHAR(200) DEFAULT NULL,
)
ENGINE = INNODB
CHARACTER SET latin1
COLLATE latin1_swedish_ci;

El Character set: esta bien en latin1
El Collate: esta bien en latin1_swedish_ci
Mi Blog Personal
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login