Page History
...
Info | ||
---|---|---|
| ||
If obfuscated users are seeing an odd A-hat character in query results, UTF-8 needs to be enabled in Apache. (In the charset.conf configuration file, find the line that reads :"AddDefaultCharset UTF-8". Uncomment it and restart Apache.) See detailed instructions in Troubleshooting. |
Anchor | ||||
---|---|---|---|---|
|
...
Anchor | ||||
---|---|---|---|---|
|
https://github.com/hms-dbmi/i2b2-webclient-proxy
Anchor | ||||
---|---|---|---|---|
|
Troubleshooting Odd Characters in Query Results
If obfuscated users are encountering an unusual "A-hat" character (Â) in their search results, it's likely due to a character encoding issue within your Apache server. To resolve this, you'll need to enable UTF-8 encoding.
Solution:
Locate the
charset.conf
file:- This file is typically located in your Apache configuration directory. Its exact path may vary depending on your server setup. Common locations include:
/etc/apache2/conf/charset.conf
/etc/httpd/conf/charset.conf
- This file is typically located in your Apache configuration directory. Its exact path may vary depending on your server setup. Common locations include:
Uncomment the UTF-8 line:
- Open the
charset.conf
file using a text editor. - Find the line that reads:
AddDefaultCharset UTF-8
- If this line is commented out (preceded by a
#
symbol), remove the#
to uncomment it. This will instruct Apache to use UTF-8 as the default character set.
- Open the
Restart Apache:
- After making the change, restart your Apache server to apply the configuration. The specific command to restart Apache will depend on your operating system and server setup. Common commands include:
- Linux:
sudo systemctl restart apache2
orsudo service apache2 restart
- macOS:
sudo apachectl restart
- Linux:
- After making the change, restart your Apache server to apply the configuration. The specific command to restart Apache will depend on your operating system and server setup. Common commands include:
Anchor | ||||
---|---|---|---|---|
|
...