Developers Getting Started With i2b2
Space shortcuts
Space Tools
Developers Getting Started With i2b2 getstarted

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleA-hat character

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
_52j3c58b0474
_52j3c58b0474
WEB CLIENT HOSTING VIA APACHE

...

Anchor
_rjshgma5rkyz
_rjshgma5rkyz
i2b2 Web Proxy Server Repository

https://github.com/hms-dbmi/i2b2-webclient-proxy

Anchor
troubleshooting
troubleshooting
Troubleshooting

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:

  1. 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
  2. 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.
  3. 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 or sudo service apache2 restart
      • macOS: sudo apachectl restart

Anchor
_qrvsxe4i2xo6
_qrvsxe4i2xo6
Acknowledgments

...

Developers Getting Started With i2b2 getstarted