Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace special characters with unicode #675

Closed
arolfes opened this issue Apr 14, 2020 · 0 comments · Fixed by #676
Closed

Replace special characters with unicode #675

arolfes opened this issue Apr 14, 2020 · 0 comments · Fixed by #676

Comments

@arolfes
Copy link
Contributor

arolfes commented Apr 14, 2020

some tests do not compile in circleci because of unmappable character (0xBC) for encoding US-ASCII

> Task :inspectit-ocelot-core:compileTestJava
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:43: error: unmappable character (0xC3) for encoding US-ASCII
                    enc("my_val??") + " =  " + enc("stra??e=15") + ";someprop=42");
                               ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:43: error: unmappable character (0xBC) for encoding US-ASCII
                    enc("my_val??") + " =  " + enc("stra??e=15") + ";someprop=42");
                                ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:43: error: unmappable character (0xC3) for encoding US-ASCII
                    enc("my_val??") + " =  " + enc("stra??e=15") + ";someprop=42");
                                                        ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:43: error: unmappable character (0x9F) for encoding US-ASCII
                    enc("my_val??") + " =  " + enc("stra??e=15") + ";someprop=42");
                                                         ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:47: error: unmappable character (0xC3) for encoding US-ASCII
            verify(inspectitContext).setData(eq("my_val??"), eq("stra??e=15"));
                                                       ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:47: error: unmappable character (0xBC) for encoding US-ASCII
            verify(inspectitContext).setData(eq("my_val??"), eq("stra??e=15"));
                                                        ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:47: error: unmappable character (0xC3) for encoding US-ASCII
            verify(inspectitContext).setData(eq("my_val??"), eq("stra??e=15"));
                                                                     ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:47: error: unmappable character (0x9F) for encoding US-ASCII
            verify(inspectitContext).setData(eq("my_val??"), eq("stra??e=15"));
                                                                      ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:106: error: unmappable character (0xC3) for encoding US-ASCII
            Map<String, Object> data = ImmutableMap.of("my_val??", "stra??e=15");
                                                              ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:106: error: unmappable character (0xBC) for encoding US-ASCII
            Map<String, Object> data = ImmutableMap.of("my_val??", "stra??e=15");
                                                               ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:106: error: unmappable character (0xC3) for encoding US-ASCII
            Map<String, Object> data = ImmutableMap.of("my_val??", "stra??e=15");
                                                                        ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:106: error: unmappable character (0x9F) for encoding US-ASCII
            Map<String, Object> data = ImmutableMap.of("my_val??", "stra??e=15");
                                                                         ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:112: error: unmappable character (0xC3) for encoding US-ASCII
                    .containsEntry(CORRELATION_CONTEXT_HEADER, enc("my_val??") + "=" + enc("stra??e=15"));
                                                                          ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:112: error: unmappable character (0xBC) for encoding US-ASCII
                    .containsEntry(CORRELATION_CONTEXT_HEADER, enc("my_val??") + "=" + enc("stra??e=15"));
                                                                           ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:112: error: unmappable character (0xC3) for encoding US-ASCII
                    .containsEntry(CORRELATION_CONTEXT_HEADER, enc("my_val??") + "=" + enc("stra??e=15"));
                                                                                                ^
/root/inspectit/repo/inspectit-ocelot-core/src/test/java/rocks/inspectit/ocelot/core/instrumentation/context/ContextPropagationUtilTest.java:112: error: unmappable character (0x9F) for encoding US-ASCII
                    .containsEntry(CORRELATION_CONTEXT_HEADER, enc("my_val??") + "=" + enc("stra??e=15"));
                                                                                                 ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
@arolfes arolfes changed the title replace special characters with unicode Replace special characters with unicode Apr 14, 2020
arolfes added a commit to arolfes/inspectit-ocelot that referenced this issue Apr 14, 2020
replaced ü and ß with unicode equivalent
@mariusoe mariusoe linked a pull request Apr 15, 2020 that will close this issue
arolfes added a commit to arolfes/inspectit-ocelot that referenced this issue Apr 16, 2020
replaced ü and ß with unicode equivalent
arolfes added a commit to arolfes/inspectit-ocelot that referenced this issue Apr 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant