<!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></HEAD>
<BODY dir=auto bgColor=#ffffff>
<DIV><FONT face=Arial size=2>No, no procede porque el campo en la tabla es de 
solo 35 caracteres de longitud. Pero si se le puede poner letras acentuadas y 
solo es contada como 1 carácter.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>BD Firebird 2.5.7 ISO8859_1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial size=2>Saludos Reiterados</FONT></DIV>
<DIV>========<BR>| ISMAEL |<BR>========</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">Juan Perles 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=perlesj@gmail.com 
  href="mailto:perlesj@gmail.com">Juan Perles</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, April 16, 2017 5:37 
AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Lazarus-es] Problemas con 
  caracteres unicode en TMemDataset</DIV>
  <DIV><BR></DIV>
  <DIV>Ismael no te rompas la cabeza con la 'enne' la o acentuada que sí la ves 
  es tan carácter especial como la enne de año. Prueba a poner longitud 40 en 
  vez de 35.</DIV>
  <DIV id=AppleMailSignature><BR><BR>
  <DIV>Juan Perles</DIV>
  <DIV>628.482.007</DIV>Enviado desde mi iPad</DIV>
  <DIV><BR>El 12 abr 2017, a las 22:33, Ismael L. Donis Garcia via Lazarus-es 
  <<A 
  href="mailto:lazarus-es@lists.lazarus-ide.org">lazarus-es@lists.lazarus-ide.org</A>> 
  escribió:<BR><BR></DIV>
  <BLOCKQUOTE type="cite">
    <DIV>
    <META content="MSHTML 6.00.2900.5512" name=GENERATOR>
    <STYLE></STYLE>

    <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;</FONT></DIV>
    <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></P>
      <HR>

      <P></P>_______________________________________________<BR>Lazarus-es 
      mailing list<BR><A 
      href="mailto:Lazarus-es@lists.lazarus-ide.org">Lazarus-es@lists.lazarus-ide.org</A><BR><A 
      href="http://lists.lazarus-ide.org/listinfo/lazarus-es">http://lists.lazarus-ide.org/listinfo/lazarus-es</A><BR></BLOCKQUOTE></DIV></BLOCKQUOTE>
  <BLOCKQUOTE type="cite">
    <DIV><SPAN>_______________________________________________</SPAN><BR><SPAN>Lazarus-es 
    mailing list</SPAN><BR><SPAN><A 
    href="mailto:Lazarus-es@lists.lazarus-ide.org">Lazarus-es@lists.lazarus-ide.org</A></SPAN><BR><SPAN><A 
    href="http://lists.lazarus-ide.org/listinfo/lazarus-es">http://lists.lazarus-ide.org/listinfo/lazarus-es</A></SPAN><BR></DIV></BLOCKQUOTE>
  <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>