FA icons are not displayed on styles whose names contain special characters.
Posted: 19. December 2025 15:01
Hello,
The names of the styles selected to display Font Awesome icons are not encoded in UTF-8 in the
Proposed fix — apply the following minimal change in the
In the longer term, might it be preferable to store the style IDs rather than their names?
The names of the styles selected to display Font Awesome icons are not encoded in UTF-8 in the
board3_portal_fa_styles config. When they contain special characters, they are not recognised and continue to display image icons.Proposed fix — apply the following minimal change in the
store_fa_styles() method to accept special characters:
Code: Select all
public function store_fa_styles(string $key): void
{
$style_array = $this->request->variable($key, [''], true);
$this->config->set('board3_portal_fa_styles', json_encode($style_array));
}