IMP-00016 Required Character Set Conversion Not Supported Error when Import to Oracle Database IMP-00016 exigido conversão conjunto de caracteres não suportados erro ao importar a banco de dados Oracle

When trying to import an Oracle database export, backup or dump, you may encounter the error IMP-00016 where the import terminate prematurely and not allow you to continue the import to the destination Oracle database. Ao tentar importar um banco de dados Oracle exportação, ou backup dump, você pode encontrar o erro IMP-00016 onde a importação encerrar prematuramente e não lhe permitir continuar a importar para o destino banco de dados Oracle. The error has the following message: O erro tem a seguinte mensagem:

IMP-00016: required character set conversion (type 1 to 871) not supported IMP-00016: conjunto de caracteres exigido conversão (tipo 1 a 871) não suportado
IMP-00000: Import terminated unsuccessfully IMP-00000: Importação encerrado sem êxito

Note that depending on your export file and database character set, the “type 178 to 871″ may change from each environment. Note que, dependendo do seu banco de dados e exportar arquivos conjunto de caracteres, o "Tipo de 178 a 871" pode mudar de cada ambiente. Other typical character set conversion not supported error include from type 178 to 871 or from type 31 to 871. Outro conjunto de caracteres típicos conversão não suportados incluem erro de tipo 178 a 871 ou a partir de tipo 31 para 871.

The cause for the Oracle error is because import utility could not convert the character format of the export file into the native character format which is the setting of the operating system client. O motivo para a Oracle erro é porque importação utilidade não poderia converter os caracteres formato de exportação do arquivo em formato nativo personagem que é a configuração do sistema operacional cliente. In other world, the issue is due to the fact that there is conversion problem between the export dump file and the destination databases which have different character set value when Oracle import utility try to import the exported database by using the Unix’s NLS_LANG local environment variable value. Em outro mundo, o problema se deve ao fato de que não há problema conversão entre a exportação dump arquivo eo destino que têm bases de dados diferentes conjunto de caracteres quando Oracle importação valor utilitário tentar importar os dados exportados pela utilização do Unix NLS_LANG do meio ambiente local variável valor. If the operating system environment doesn’t show the value of NLS_LANG, the import (and also export) will be done in US7ASCII as the default value for NLS_LANG on UNIX platforms is AMERICAN_AMERICA.US7ASCII, regardless of the database characterset. Se o ambiente de sistema operativo não mostrar o valor de NLS_LANG, a importação (e também à exportação) será feito em US7ASCII como o valor padrão para NLS_LANG em plataformas UNIX é AMERICAN_AMERICA.US7ASCII, independentemente de a base de dados characterset.

The resolution to resolve the IMP-00016 is to set the the NLS_LANG parameter in local OS env variable value to match the character set of the destination database and import the dump file. A resolução para resolver o IMP-00016 é o de definir o parâmetro a NLS_LANG no local OS env variável valor para igualar o conjunto de caracteres de destino a base de dados e importar o arquivo dump. NLS_LANG can be change by using set or export command. NLS_LANG podem ser alterados através de conjunto ou de exportação comando. For example: Por exemplo:

$ export NLS_LANG=.WE8ISO8859P1 $ Export NLS_LANG =. WE8ISO8859P1

NLS_LANG is set in the registry on Windows platforms. NLS_LANG está definido no registro em plataformas Windows. For example, on an English Windows client, the code page is WE8MSWIN1252. Por exemplo, em um cliente Windows Inglês, o código é WE8MSWIN1252 página. An appropriate setting for NLS_LANG is AMERICAN_AMERICA.WE8MSWIN1252. Uma configuração apropriada para NLS_LANG é AMERICAN_AMERICA.WE8MSWIN1252.

You can check the character sets of the Oracle database in SQL*Plus by using following commands to list all NLS information: Você pode verificar os conjuntos de caracteres do banco de dados Oracle em SQL * Plus, usando os seguintes comandos para listar todos os NLS informações:

SQL> col value format a25 SQL> col valor formato A25
SQL> col parameter format a25 SQL> col parâmetro formato A25
SQL> select * from v$nls_parameters; SQL> SELECT * FROM v $ nls_parameters;

In the rows returned, NLS_CHARACTERSET will list the character set of the database. Nas linhas retornadas, NLS_CHARACTERSET irá listar o conjunto de caracteres de banco de dados. In ideal situation to avoid and minimize the potential errors, the recommended practise will be like the following: Na situação ideal para evitar e minimizar os erros potenciais, recomendou a praticar será como a seguinte:

At the system where database export is taken: Set NLS_LANG=. No sistema de banco de dados onde exportação é tomada: Ajuste NLS_LANG =. At the system where database import is done: Set NLS_LANG=. Na importação de dados onde o sistema é feito: Ajuste NLS_LANG =.

Set the operating system NLS_LANG value to match the source or destination database character set will let Oracle assumes that the data being sent or received is encoded in the same character set as the database character set, so no validation or conversion is performed. Definir o sistema operacional NLS_LANG valor para corresponder a fonte ou o destino conjunto de caracteres de dados Oracle assume que irá permitir que os dados que são enviados ou recebidos está codificado no mesmo conjunto de caracteres como o banco de dados conjunto de caracteres, assim não há validação ou conversão seja realizada. This can lead to corrupt data if the client code page and the database character set are different and conversions are necessary. Isto pode levar a corromper os dados se o código cliente página do banco de dados e de conjunto de caracteres são diferentes e as conversões são necessárias. It’s more of an issue if source and destination databases have different character set, and source database contains special characters (for example chinese, japanese, spanish, german, special letters or other characters, which are not contained in US7ASCII), the target database will lose the original characters and show replacement characters instead. É mais uma questão de origem e de destino se ter diferentes bases de dados conjunto de caracteres, fonte e base de dados contém caracteres especiais (por exemplo, chinês, japonês, espanhol, alemão, letras ou outros caracteres especiais, que não estão contidas na US7ASCII), a meta banco de dados irá perder o original personagens e mostrar caracteres em vez substituição. So, it’s best if the source and destination database has the same or similar character set. Portanto, é melhor se a origem eo destino de dados tem a mesma ou similar conjunto de caracteres.

To check the character set that a dump export and its database is using, check the export log, the characterset information should exists at the beginning of the log: Para verificar o conjunto de caracteres que um dump de exportação e sua base de dados está a utilizar, verifique o log exportação, o characterset informação deveria existir no início do registro:

Export done in US7ASCII character set and AL16UTF16 NCHAR character set Exportação US7ASCII feito em conjunto de caracteres e AL16UTF16 NCHAR conjunto de caracteres
server uses WE8MSWIN1252 character set (possible charset conversion) servidor usa WE8MSWIN1252 conjunto de caracteres (charset possível conversão)

Similary, the import log will contain the information about what character set the import process is using and also for the target database, plus possible warning message, even if the import failed with IMP-00016 error, at the beginning of the import log: De igual forma, a importação log irá conter as informações sobre qual conjunto de caracteres está a utilizar o processo de importação e também para o banco de dados alvo, além de possíveis mensagem de aviso, mesmo se a importação falhou com IMP-00016 erro, no início da importação log:

import done in US7ASCII character set and AL16UTF16 NCHAR character set importação US7ASCII feito em conjunto de caracteres e AL16UTF16 NCHAR conjunto de caracteres
import server uses UTF8 character set (possible charset conversion) importação servidor usa conjunto de caracteres UTF8 (eventual conversão charset)
export server uses UTF8 NCHAR character set (possible ncharset conversion) exportação servidor usa NCHAR conjunto de caracteres UTF8 (eventual conversão ncharset)

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Esta é uma página traduzida máquina que é fornecida "como está" sem garantia. Machine translation may be difficult to understand. A tradução automática pode ser difícil de compreender. Please refer to Por favor, consulte a original English article Inglês original article whenever possible. sempre que possível.

Share and contribute or get technical support and help at Compartilhe e contribuir ou obter suporte técnico e ajudar a My Digital Life Forums Minha vida digital Fóruns .



Leave a Reply Deixe uma resposta

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Você pode usar estas tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Subscreva sem comentar


Custom Search

New Articles Novos Artigos

Incoming Search Terms for the Article Incoming Termos de pesquisa para o artigo

Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set Exportação WE8MSWIN1252 feito em conjunto de caracteres e AL16UTF16 NCHAR conjunto de caracteres - -- import done in US7ASCII character set and AL16UTF16 NCHAR character set importação US7ASCII feito em conjunto de caracteres e AL16UTF16 NCHAR conjunto de caracteres - -- IMP-00016 IMP-00016 - -- IMP-00016: required character set conversion (type 1 to 871) not supported IMP-00016: conjunto de caracteres exigido conversão (tipo 1 a 871) não suportado - -- oracle imp charset Oracle IMP charset - -- import server uses WE8ISO8859P1 character set (possible charset conversion) importação servidor usa WE8ISO8859P1 conjunto de caracteres (charset possível conversão) - -- export client uses US7ASCII character set (possible charset conversion) exportação cliente utiliza US7ASCII conjunto de caracteres (charset possível conversão) - -- import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set importação WE8ISO8859P1 feito em conjunto de caracteres e AL16UTF16 NCHAR conjunto de caracteres - -- check character set in NLS_LANG oracle verificar conjunto de caracteres em NLS_LANG oracle - -- This message uses a character set that is not supported by the Internet Service Esta mensagem usa um conjunto de caracteres que não é suportada pelo Internet Service - -- import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set importação WE8MSWIN1252 feito em conjunto de caracteres e AL16UTF16 NCHAR conjunto de caracteres - -- IMP-00016: required character set conversion (type 31 to 871) not supported IMP-00016: conjunto de caracteres exigido conversão (tipo 31 a 871) não suportado - -- possible charset conversion charset possível conversão - -- oracle imp character set Oracle IMP conjunto de caracteres - -- import server uses WE8MSWIN1252 character set (possible charset conversion) importação servidor usa WE8MSWIN1252 conjunto de caracteres (charset possível conversão) - -- import done in US7ASCII character set and UTF8 NCHAR character set importação US7ASCII feito em conjunto de caracteres e conjunto de caracteres UTF8 NCHAR - -- oracle imp nls_lang Oracle IMP nls_lang - -- import done in WE8MSWIN1252 character set and UTF8 NCHAR character set importação WE8MSWIN1252 feito em conjunto de caracteres e conjunto de caracteres UTF8 NCHAR - -- required character set conversion (type 178 to 871) not supported conjunto de caracteres exigido conversão (tipo 178 a 871) não suportado - -- imp character set IMP conjunto de caracteres - -- imp NLS_LANG IMP NLS_LANG - -- "This message uses a character set that is not supported by the Internet Service" "Esta mensagem utiliza um conjunto de caracteres que não é suportado pelo serviço de internet" - -- export server uses AL16UTF16 NCHAR character set (possible ncharset conversion) exportação servidor usa AL16UTF16 NCHAR conjunto de caracteres (eventual conversão ncharset) - -- export client uses WE8ISO8859P1 character set (possible charset conversion) exportação cliente utiliza WE8ISO8859P1 conjunto de caracteres (charset possível conversão) - -- oracle export utf8 Oracle exportação utf8 - -- Export done in US7ASCII character set and UTF8 NCHAR character set Exportação US7ASCII feito em conjunto de caracteres e conjunto de caracteres UTF8 NCHAR - -- This message uses a character set that is not supported by the Internet Service. Esta mensagem usa um conjunto de caracteres que não é suportado pelo serviço de Internet. - -- "import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set" "importação WE8MSWIN1252 feito em conjunto de caracteres e AL16UTF16 NCHAR conjunto de caracteres" - -- export server uses UTF8 NCHAR character set (possible ncharset conversion) exportação servidor usa NCHAR conjunto de caracteres UTF8 (eventual conversão ncharset) - -- "possible charset conversion" "charset possível conversão" - -- import done in we8mswin1252 importação feita em we8mswin1252 - -- export client uses US7ASCII character set exportação cliente utiliza US7ASCII conjunto de caracteres - -- import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set export client uses US7ASCII character set (possible charset conversion) importação WE8MSWIN1252 feito em conjunto de caracteres e AL16UTF16 NCHAR conjunto de caracteres exportação cliente utiliza US7ASCII conjunto de caracteres (charset possível conversão) - -- import server uses UTF8 character set (possible charset conversion) importação servidor usa conjunto de caracteres UTF8 (eventual conversão charset) - -- imp charset IMP charset - -- Export done in US7ASCII character set and AL16UTF16 NCHAR character set server uses WE8ISO8859P1 character set (possible charset conversion) Exportação US7ASCII feito em conjunto de caracteres e AL16UTF16 NCHAR conjunto de caracteres WE8ISO8859P1 servidor usa conjunto de caracteres (charset possível conversão) - -- server uses WE8ISO8859P1 character set (possible charset conversion) servidor usa WE8ISO8859P1 conjunto de caracteres (charset possível conversão) - -- "import done in US7ASCII character set and AL16UTF16 NCHAR character set" "importação US7ASCII feito em conjunto de caracteres e AL16UTF16 NCHAR conjunto de caracteres" - -- server uses UTF8 character set (possible charset conversion) servidor usa conjunto de caracteres UTF8 (eventual conversão charset) - -- import done in WE8ISO8859P1 character set and UTF8 NCHAR character set importação feita em conjunto de caracteres WE8ISO8859P1 e conjunto de caracteres UTF8 NCHAR - -- import done in US7ASCII character set and UTF8 NCHAR character set + import server uses UTF8 character set (possible charset conversion) + export server uses AL16UTF16 NCHAR character set (possible ncharset conversion) importação US7ASCII feito em conjunto de caracteres e conjunto de caracteres UTF8 NCHAR + importação servidor usa conjunto de caracteres UTF8 (eventual conversão charset) + exportação servidor usa AL16UTF16 NCHAR conjunto de caracteres (eventual conversão ncharset) - -- change the client character set or NCHARSET to match the server alterar o conjunto de caracteres ou cliente NCHARSET para corresponder ao servidor - -- Export done in US7ASCII character set and AL16UTF16 NCHAR character set server uses WE8ISO8859P1 character set (possible charset conversion) Exportação US7ASCII feito em conjunto de caracteres e AL16UTF16 NCHAR conjunto de caracteres WE8ISO8859P1 servidor usa conjunto de caracteres (charset possível conversão) - -- import oracle charset Oracle importação charset - -- oracle import charset Oracle importação charset - -- EXPORT DONE IN US7ASCII Exportação feito em US7ASCII - -- show characterset oracle mostrar characterset Oracle - -- import done in US7ASCII importação feita em US7ASCII - -- This message uses a character set that is not supported by the Internet Service. Esta mensagem usa um conjunto de caracteres que não é suportado pelo serviço de Internet. - -- What Character set is my Oracle DB Using O conjunto de caracteres é a minha Oracle DB Utilizando - --