Re: utf8 mysql problem

David Christensen <[email protected]> Wed, 17 Jan 2018 11:29:52 -0600
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
Hi Marco,

Interchange 5.6.3 had some support for UTF-8; you can try in your catalog.cfg:

DatabaseDefault MYSQL_ENABLE_UTF8 1
Variable MV_HTTP_CHARSET utf-8

There may be some other settings required here, but that’s what I recall from memory.  Newer versions of IC improve on the UTF-8 support.

Best,

David

> On Jan 17, 2018, at 10:59 AM, marco <[email protected]> wrote:
> 
> Debian GNU/Linux 9
> Interchange V5.10.0
> mysqld 10.1.26-MariaDB-0+deb9u1
> 
> With italian accented characters mysql store and return wrong chars.
> Try to change charater set to mysql scheme (all db) and table from latin1 to utf8, also put metatags on the input form page:
> <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
> 
> but the only way i find to store and retrieve accented characters is this:
> [query type=textref sql="SET NAMES UTF8"][/query]
> before ANY update query.
> 
> Is there a way to set global mysql UTF8 ?
> 
> P.S.
> In the previous version:
> Debian GNU/Linux 6.0
> Interchange V5.6.3
> mysql 5.1.73
> with the same catalogue and same database with latin1 charset all over i haven't this problem.
> 
> Any suggestion ?
> GREAT thanks.
> Marco.
> 
> --
> "Fino alla bara sinpara"
> "Up to demise we rize"
> 
> _______________________________________________
> interchange-users mailing list
> [email protected]
> http://www.icdevgroup.org/mailman/listinfo/interchange-users

--
David Christensen
End Point Corporation
[email protected]
785-727-1171

_______________________________________________
interchange-users mailing list
[email protected]
http://www.icdevgroup.org/mailman/listinfo/interchange-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECKA1l4YEfF4eK4/eN0ojyd+bZbgFAlpfiBAACgkQN0ojyd+b
ZbiSeg//UyrifZAK3mzfERN9/qtWgfslsj6pBX4T/fG3RklfzuDpTIvq42+B795V
hFpj1h7ao3btewuFOo5TSMU0DTEaNAZknig9Tlgak7SHW/y1SMpH6eaFGDVOY5sK
HErgXiuD4XyF68BnqsZcX+neXxOPrGxuswYh1PkSUrcSysWK/MyK8+/aHUr05nge
ceaZAuaJs5FKKsEF56752ZejP2mS36+ZpdLLMuX4A37uuf2zPG+jjFgwDwGZcFad
SHTPw/xLEn813LxlD2BQ96LSfgi9+mjLgnXJdnNkl9PAPhfvuS+U3SB7kexZ6vXC
wTIn1AiRvMmVVhZQgxR4u4ZFmsIaAGVEG3180X3TLGV+ZSilyQgBHoeptX4mqaTP
hHX4/MKxb9aomVjK/ldm8464xc06n9Dmq53pkFvyt4T6oKvbzy3sR7c+GCPD+LyF
J+ydSCoF9lPOgWRkmhDb8C8LtFqt6aKrcrH2emnwWf/2vz+N4hxoBFYeaXaJywO5
9cOnEPCemz/s/GWnr1MK2d1eaxfMkTkEc7Ykiqny78ViCh8KUK9kBMzOjM793d0Z
iJyz9kH35pkZgsG/podQK5XPya1uXBJM/Bp14q/C28dcax+7Nh3r3Tfgv2YGdNZ9
EQrTztXkYYyxo4ni5Lt/h+eJiRQYOgEDxCot9m9rtXiw0V7bJtc=
=daC4
-----END PGP SIGNATURE-----