I don't see any calls to sqlite3() functions in your "isolated test case". 
Maybe you are having problems with character encoding outside of sqlite?

-----Ursprüngliche Nachricht-----
Von: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] Im 
Auftrag von aotto
Gesendet: Montag, 17. April 2017 10:55
An: SQLite mailing list <sqlite-users@mailinglists.sqlite.org>
Betreff: Re: [sqlite] strange behaviour on sqlite shell output…

Am 17.04.2017 um 10:34 schrieb aotto:
………
This is the isolated test case this shows the BUG

#include "stdio.h"

int
main ( int argc, char **argv ) {
      // code

     int i=3;
     int w=11; // → ??????
     int nArg=4;
     char *rowSep="\n";
     char *azArg[4]  = {NULL,NULL,NULL,"EO EU WE €O $H"};

     fprintf(stdout,"%-*.*s%s",w,w,
               azArg[i] ? azArg[i] : NULL,
                 i==nArg-1 ? rowSep : "  ");

      return 0; // Indicates that everything went well.
}


_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


___________________________________________
 Gunter Hick
Software Engineer
Scientific Games International GmbH
FN 157284 a, HG Wien
Klitschgasse 2-4, A-1130 Vienna, Austria
Tel: +43 1 80100 0
E-Mail: h...@scigames.at

This communication (including any attachments) is intended for the use of the 
intended recipient(s) only and may contain information that is confidential, 
privileged or legally protected. Any unauthorized use or dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please immediately notify the sender by return e-mail message and 
delete all copies of the original communication. Thank you for your cooperation.


_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to