Hi there. the ™ charecter is failing inside KNIME in the String manipulation node
I tried the following ones
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
$column_name$,
“€”, “€”),
“Š”, “Š”),
“ ”, " "),
“®”, “®”),
“°”, “°”),
“±”, “±”),
“²”, “²”),
“µ”, “µ”),
“º”, “º”),
“¼”, “¼”),
“½”, “½”),
“Ô, “Ô),
“Ä”, “Ä”),
“Ï”, “Ï”),
“Ö”, “Ö”),
“Ø”, “Ø”),
“à”, “à”),
“á”, “á”),
“â”, “â”),
“ë”, “ë”),
“ö”, “ö”),
“ø”, “ø”),
“ü”, “ü”),
“…”, “…”),
“™”, “™”)
And got the failure
Warning
Invalid settings:
org.knime.ext.sun.nodes.script.compile.CompilationFailedException: Unable to compile expression
ERROR at line 117
Syntax error, insert “)” to complete Expression
Line : 116 “…”, “…”),
Line : 117 “™”, “™”);
OK
I tried with Unicodes as well and here the “™” failed as well?
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
replace(
$column_name$,
“€”, “\u20AC”), // Euro
“Š”, “\u0160”), // S with Caron
“ ”, “\u00A0”), // Non-breaking space
“®”, “\u00AE”), // Registered sign
“°”, “\u00B0”), // Degree sign
“±”, “\u00B1”), // Plus-minus sign
“²”, “\u00B2”), // Superscript two
“µ”, “\u00B5”), // Micro sign
“º”, “\u00BA”), // Masculine ordinal indicator
“¼”, “\u00BC”), // One quarter
“½”, “\u00BD”), // One half
“Ô, “\u00C3”), // Latin capital letter A with tilde
“Ä”, “\u00C4”), // Latin capital letter A with diaeresis
“Ï”, “\u00CF”), // Latin capital letter I with diaeresis
“Ö”, “\u00D6”), // Latin capital letter O with diaeresis
“Ø”, “\u00D8”), // Latin capital letter O with stroke
“à”, “\u00E0”), // Latin small letter a with grave
“á”, “\u00E1”), // Latin small letter a with acute
“â”, “\u00E2”), // Latin small letter a with circumflex
“ë”, “\u00EB”), // Latin small letter e with diaeresis
“ö”, “\u00F6”), // Latin small letter o with diaeresis
“ø”, “\u00F8”), // Latin small letter o with stroke
“ü”, “\u00FC”), // Latin small letter u with diaeresis
“…”, “\u2026”), // Horizontal ellipsis
“™”, “\u2122”) // Trade mark sign
Error:
Warning
Invalid settings:
org.knime.ext.sun.nodes.script.compile.CompilationFailedException: Unable to compile expression
ERROR at line 117
Syntax error, insert “)” to complete Expression
Line : 116 “…”, “u2026”),
Line : 117 “™”, “u2122”)
Are we doing something wrong here? Or is there a limit to how many replace you can enter in - When we try with 15 it goes well but 20 it fails…
Or did KNIME forget around the Trademark text?