<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Yann,<br>
      <br>
      I had this the other day. With me it was caused by a new line
      character in one of the fields in the database, causing the line
      to be split over two lines. As my data were in Postgres I was able
      to clean up my data by using:<br>
      <br>
      update mytable set myfield = regexp_replace(myfield,
      E'[\\n\\r\\u2028]+', ' ', 'g' );
      <br>
      <br>
      Janneke<br>
      <br>
      On 30/11/2015 13:39, Yann Raes wrote:<br>
    </div>
    <blockquote
cite="mid:3DE87CD9FE966C4490E17F77DE692F5F0EB37523@srvmail01.harelbeke.local"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html;
        charset=us-ascii">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Hello</span></p>
        <p class="MsoNormal"><span lang="EN-US">When I copy my
            attributes (+6000 attributes) to Excel I get several lines
            that are not copied correct.  The lines split in half and
            makes a new line; so one line turns into two split lines…</span></p>
        <p class="MsoNormal"><span lang="EN-US">Anyone a solution for
            this bug?</span></p>
        <p class="MsoNormal"><span lang="EN-US">Thanx.</span></p>
        <p class="MsoNormal"><span lang="EN-US">Yann</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
    <br>
  </body>
</html>