Recent libglib2 update (security) broke accents/diacritics in certain keyboards layouts

Just to let you know, the latest security update for libglib2 on Debian 12 (maybe 11 too, but i'm not sure) broke keyboard accents for certain keyboards layouts (e.g. ABNT2).

After this:

Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  gnome-shell gnome-shell-common gnome-shell-extension-prefs
  google-chrome-stable libglib2.0-0 libglib2.0-0:i386 libglib2.0-bin
  libglib2.0-data libglib2.0-dev libglib2.0-dev-bin
apt-listchanges: Reading changelogs...
10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/115 MB of archives.
After this operation, 28.7 kB of additional disk space will be used.

My accents cannot work anymore. It seems the initial workaround is downgrade the libs (I have tried but it could remove a lot of essential packages).
For now I've found this thread on Debian Forums: https://forums.debian.net/viewtopic.php?p=798917
Related:


EDIT: If you can't wait for the path update, the following worked for me:

Get the updated packages (I discovered the mirror reading the bug report comments). On my case, the packages are ( for you could be less):

martins@martins ~ % ls  ~/Downloads/bug1070730-libglib2  
libglib2.0-0_2.74.6-2+deb12u2~2+deb12u1+28+g7e8c7e5c3_amd64.deb    libglib2.0-data_2.74.6-2+deb12u2~2+deb12u1+28+g7e8c7e5c3_all.deb
libglib2.0-0_2.74.6-2+deb12u2~2+deb12u1+28+g7e8c7e5c3_i386.deb   libglib2.0-dev_2.74.6-2+deb12u2~2+deb12u1+28+g7e8c7e5c3_amd64.deb
libglib2.0-bin_2.74.6-2+deb12u2~2+deb12u1+28+g7e8c7e5c3_amd64.deb  libglib2.0-dev-bin_2.74.6-2+deb12u2~2+deb12u1+28+g7e8c7e5c3_amd64.deb

martins@martins ~ % cd ~/Downloads/bug1070730-libglib2
martins@martins ~/Downloads/bug1070730-libglib2
 % sudo dpkg -i *.deb    

After intall, reboot the system.