Gracias Alex, pero creo que ya he encontrado el problema y la solucion.

Yo me empeñaba en poner la pagina de codigos 1145 (español con euro) 
pero......¡¡¡Las instalaciones de güindos estan en ingles!!! hay que poner 
la pagina 1140 (ingles con euro).

Todavía estoy en pruebas, pero creo que ya esta solucionado. 
 
Pedro Pinedo Hernandez
TIPO Programmer/Analyst & AS400
Analista-Programador
Departamento de Informática / IT Department
tfno.:+34 941 28 60 90 - 941 03 01 39
fax: +34 941 03 01 39
Amcor Flexibles
T +34 941 286 090   F +34 941 207 543
www.amcor.com 


 

P Antes de imprimir, piensa en el MEDIO AMBIENTE P 

 



From:
Àlex Corretgé <[email protected]>
To:
"forum.help400" <[email protected]>
Date:
28/08/2010 12:53
Subject:
Re: Conversion de ascii a ebcdic



Creo que tienes un problema con los textos en UTF-8

en .NET tienes la clase Encoding

http://msdn.microsoft.com/en-us/library/66sschk1.aspx

Antes de enviar nada al ODBC conviertelo.

Claro que perderas los caracteres que no se puedan convertir.


Atentament / Kind Regards

Àlex Corretgé
a/e - wave: [email protected]



Carrer de la Font, 2
17142 - Verges
Tel: +34 972 780 422
Cell: +34 669 86 92 64

Serveis Informàtics Corretgé.com SLU
http://corretge.cat/
skype: corretge_com
LinkedIn: http://www.linkedin.com/in/corretge
News: http://bloc.corretge.cat



2010/8/26 Pedro Pinedo <[email protected]>
Hola compañeros, a ver si alguno me puede echar una mano. 

Tengo una aplicacion en Visual Basic, que, por odbc, ataca a la base de 
datos del 400. 

Ahora la estamos migrando a .net, y, cuando algun usuario copia desde 
Word, a un campo de texto, hay algunos caracteres, que provocan un error 
de conversion de datos. 

En visual basic no ocurria. 

Uno de estos caracteres era el simbolo del "?" y lo solucione poniendo la 
pagina de codigos 1145. 

Otro de los caracteres son las comillas de word ( ? ? no las "" ), y 
algunos caracteres de tipo grafico. 

¿me podeis ayudar a solucionarlo? ¿habria algo que pudiera cambiar en la 
pagina de codigos? 

Gracias.

Pedro Pinedo Hernandez
TIPO Programmer/Analyst & AS400
Analista-Programador
Departamento de Informática / IT Department
tfno.:+34 941 28 60 90 - 941 03 01 39
fax: +34 941 03 01 39 
Amcor Flexibles
T +34 941 286 090   F +34 941 207 543
www.amcor.com 


  

P Antes de imprimir, piensa en el MEDIO AMBIENTE P 

 
______________________________________________________

Amcor - Creating a new world of packaging
______________________________________________________

CAUTION - This message may contain privileged and confidential information 
intended only for the use of the addressee named above. If you are not the 
intended recipient of this message you are hereby notified that any use, 
dissemination, distribution or reproduction of this message is prohibited. 
If you have received this message in error please notify Amcor 
immediately. Any views expressed in this message are those of the 
individual sender and may not necessarily reflect the views of Amcor .

____________________________________________________
Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
Forum.Help400 © Publicaciones Help400, S.L.
[attachment "attjz7wg.gif" deleted by Pedro Pinedo/Logrono/AFE] 
____________________________________________________
Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
Forum.Help400 © Publicaciones Help400, S.L.


______________________________________________________

Amcor - Creating a new world of packaging
______________________________________________________

CAUTION - This message may contain privileged and confidential information 
intended only for the use of the addressee named above. If you are not the 
intended recipient of this message you are hereby notified that any use, 
dissemination, distribution or reproduction of this message is prohibited. If 
you have received this message in error please notify Amcor immediately. Any 
views expressed in this message are those of the individual sender and may not 
necessarily reflect the views of Amcor .

<<image/gif>>

____________________________________________________
Únete a Recursos AS400, nuestra Comunidad ( http://bit.ly/db68dd )
Forum.Help400 © Publicaciones Help400, S.L.

Responder a