I may have stumbled across this by a round about route, but it is driving me wild. A week or two ago I downloaded the image for Raspbian Lite and set up an SD Card to use with our project. At the time I had an old cheapo US layout keyboard and I remember I had some problems setting it up in raspi-config because the list of keyboard layouts contained mostly unprintable characters.
Today, I received a nice shiny new red and white Official Raspberry Pi keyboard with the UK layout and used the same Buster Lite image to create another SD Card for a second device in our project. I had no problems and didn't have to use raspi-config to set up the keyboard; it just worked.
I then thought that I should change the keyboard layout on the original SD Card to match my new keyboard and had the same problem with unprintable chars. This time however, I've been unable to change the layout back to UK.
Any ideas about this (either the unprintable chars or how to get the keyboard setting to UK layout)?
BTW. The graphical version of rasp-config in Buster Full is OK, but we need to use Lite in our project.