<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.5512" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>El problema está al visualizar el dato en el grid 
porque el me trae bien el datos de la BD lo pude comprobar al 
hacer:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>while not dma.rsmr1.EOF do begin</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial 
size=2>Application.MessageBox(pchar(dma.rsmr1.FieldByName('nombre').AsString), 
pchar(self.Caption), MB_ICONINFORMATION);</FONT></DIV>
<DIV><FONT face=Arial size=2>ds.FieldByName('nombre').AsString := 
dma.rsmr1.FieldByName('nombre').AsString;<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>dma.rsmr1.Next;<BR>end;</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>Saludos Reiterados</FONT></DIV>
<DIV>========<BR>| ISMAEL |<BR>========</DIV>
<DIV>WebSite: <A href="http://sisconge.byethost15.com" 
target=_blank>sisconge.byethost15.com</A></DIV>----- Original Message ----- 
</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=lazarus-es@lists.lazarus-ide.org 
  href="mailto:lazarus-es@lists.lazarus-ide.org">Maxi via Lazarus-es</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=lazarus-es@lists.lazarus-ide.org 
  href="mailto:lazarus-es@lists.lazarus-ide.org">Spanish version of Lazarus 
  List</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=maximiliano.duarte@gmail.com 
  href="mailto:maximiliano.duarte@gmail.com">Maxi</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, April 12, 2017 3:15 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Lazarus-es] Problemas con 
  caracteres unicode en TMemDataset</DIV>
  <DIV><BR></DIV>
  <DIV dir=ltr>cambia el charset de la conexion al que tiene la BD<BR></DIV>
  <DIV class=gmail_extra><BR>
  <DIV class=gmail_quote>El 12 de abril de 2017, 11:34, Ismael L. Donis Garcia 
  via Lazarus-es <SPAN dir=ltr><<A 
  href="mailto:lazarus-es@lists.lazarus-ide.org" 
  target=_blank>lazarus-es@lists.lazarus-ide.org</A>></SPAN> escribió:<BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><U></U>
    <DIV bgcolor="#ffffff">
    <DIV><FONT face=Arial size=2>Tengo un TMemDataset el cual me trunca los 
    datos cuando existen caracteres unicode.</FONT></DIV>
    <DIV><FONT face=Arial size=2>Como puedo solucionar este problema sin 
    comprometar la longitud del registro?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2>Tengo:</FONT></DIV>
    <DIV><FONT face=Arial size=2>ds: TMemDataset;</FONT></DIV>
    <DIV><FONT face=Arial size=2>ds.FieldDefs.Add('nombre', ftString, 
    35);</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2>En una tabla Firebird 2.5 definido el campo 
    como VARCHAR(35)</FONT></DIV>
    <DIV><FONT face=Arial size=2>Puedo poner en el registro por ejemplo: 
    Producción Agr.en Preceso - Del Año</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2>El grid solo me muestra: Producción Agr.en 
    Preceso - Del A</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT> </DIV>
    <DIV><FONT face=Arial size=2>Saludos</FONT></DIV>
    <DIV>========<BR>| ISMAEL |<BR>========</DIV>
    <DIV>WebSite: <A href="http://sisconge.byethost15.com" 
    target=_blank>sisconge.byethost15.com</A></DIV>
    <DIV><FONT face=Arial 
    size=2></FONT> </DIV></DIV><BR>______________________________<WBR>_________________<BR>Lazarus-es 
    mailing list<BR><A 
    href="mailto:Lazarus-es@lists.lazarus-ide.org">Lazarus-es@lists.lazarus-ide.<WBR>org</A><BR><A 
    href="http://lists.lazarus-ide.org/listinfo/lazarus-es" target=_blank 
    rel=noreferrer>http://lists.lazarus-ide.org/<WBR>listinfo/lazarus-es</A><BR><BR></BLOCKQUOTE></DIV><BR><BR 
  clear=all><BR>-- <BR>
  <DIV class=gmail_signature data-smartmail="gmail_signature">El que pregunta 
  aprende, y el que contesta aprende a responder.<BR><BR>No a la obsolecencia 
  programada: <A 
  href="http://www.rtve.es/noticias/20110104/productos-consumo-duran-cada-vez-menos/392498.shtml" 
  target=_blank>http://www.rtve.es/noticias/20110104/productos-consumo-duran-cada-vez-menos/392498.shtml</A><BR><BR>Linux 
  User #495070<BR><A href="http://domonetic.com/blog" 
  target=_blank>http://domonetic.com/blog</A></DIV></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Lazarus-es mailing 
  list<BR>Lazarus-es@lists.lazarus-ide.org<BR>http://lists.lazarus-ide.org/listinfo/lazarus-es<BR></BLOCKQUOTE></BODY></HTML>