Re: UTF-8
Bernard Moreton <[email protected]> Fri, 17 Sep 2021 12:14:24 +0100
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <20210917121424.2c2a65e5@bernard-Inspiron-5767> |
I've used Aubit with Postgres and UTF-8 characters for the last 14 years or so. I had problems at first, but resolved (most of) them by setting A4GL_UI=TUI_wide in my .aubitrc There would still be problems if a utf8 character occurred at the end boundary of a form field, I guess; but that hasn't been a problem for me. Yet! And because Aubit counts bytes not characters, string slicing (string_var[n,m]) is hazardous, as is upshift/downshift - but such things can be got round by using psql functions (not wholly transportable), or C code. Let me know if I can help with any particular problem. Best wishes, -- Bernard Moreton On Fri, 17 Sep 2021 08:47:22 +0200 [email protected] wrote: > Hi, > > I have some strange problems while selecting data from database and > displaying them using aubit4gl. I think it is related to UTF-8. My > system is all UTF-8, also Postgres database (or mysql or sqlite3) are > UTF-8. Direct select statements (with psql, sqlite etc) no problem but > display gives within a aubit executable gives problems. > > I have seen in the aubit4gl-discuss messages that for the last 10 years > Mike warns for problems with UTF-8. Is the warning still valid? > > I think UTF-8 is the more or less the default for every modern Linux > system can someone give some recommendations how to solve the UTF-8 > problems? > > Thanks in advance. > > Ruud Baart > > > (if necessary I can give detailed example of the problems) > > > > > > _______________________________________________ > Aubit4gl-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss -- Bernard Moreton _______________________________________________ Aubit4gl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss