Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 04-30-2024 10:18:49

JonSink
Administrator
Registered: 04-29-2024
Posts: 77

Address Field Issue

NOTE: This post was created on 2023-08-21 on the Kryptronic eCommerce Community facebook page, which has been replaced with this forum.  All facebook support content was migrated into this forum in April 2024.

Anthony:

Garbled Characters (again), my address field for a customer in Iceland has printed this:
Ágústa Ólafsdóttir
Hringbraut 73
Hafnarfjörður , 220
Iceland [Residential]

Rob:

That is a valid address in Iceland.

Anthony:

well how stupid of me... thanks!!

Nick:

I was thinking the same thing. Thanks for confirming.

Anthony:

OK, now I "DO" have strange characters coming through on a Slovenia address: Sonja Ba?kov?
Sp. Pohanca 19
Arti?e (8253), 8253

Nick:

OK, now that's likely a server-size encoding issue either with Apache or MySQL not handling the strange user input. As you're self-hosted, I'd report this to your host. The webserver should be running in UTF-8, as well as the database, but K9 will run using ISO-8859-1. There's a special .htaccess rule that you should have in your .htaccess file that forces the character encoding to be handled correctly. If you used the .htaccess helper, you have that line in you .htaccess file.

Anthony:

Thanks Nick... will check

Anthony:

Our webserver is telling me to add the following to the .htaccess file: AddDefaultCharset UTF-8....... At the moment the files says: AddDefaultCharset Off.... The Database is running in utf8mb4_unicode_ci

Offline

 

Board footer