On a Windows machine, utf-8 strings passed to raven/capture will not be properly encoded when sent to Sentry.
As far as I can tell, this is because something in the http stack is using the default file encoding.
Temporary workaround:
Launch the JVM with -Dfile.encoding=utf-8
Potential solution:
Explicitly encode the body into utf-8 bytes.
On a Windows machine, utf-8 strings passed to
raven/capture
will not be properly encoded when sent to Sentry.As far as I can tell, this is because something in the http stack is using the default file encoding. Temporary workaround: Launch the JVM with
-Dfile.encoding=utf-8
Potential solution: Explicitly encode the body into utf-8 bytes.