It has been discovered in SimpleRisk version 20180527-001 characters are being encoded to UTF8 when they are queried from the database. This has resulted in certain characters being broken when users view risk data because they are not found in UTF8. Below will outline a single line change to the code of SimpleRisk to resolve this issue until a new version can be released to correct it.


To resolve the issue open your simplerisk directory and navigate to:

simplerisk/includes/functions.php


Open this in your text editor of choice.


Find line 9186 it should look like the following:


// UTF8 Encode and return STR.
    return utf8_encode($decrypted_value);


Change it to:


// return STR.

    return $decrypted_value;
 

This will resolve the character encoding issue and allow characters that do not belong to UTF8 to be returned and displayed in the system.