Highlighted

Character non-coded

Silver Contributor
Silver Contributor

Hi, I have a problem in a lookup table extension. I made a mapping between the currencies symbols and the currencies code (eg. $ -> USD, £ -> GBP, ...) as I publish in any environment the £ symbol is replaced by an invalid character (i.e. "�"), it seems like there's a issue related to charset encoding. Could you provide us with a kind of workaround to solve this? Please find attached the screenshot http://i.imgur.com/TomPRHK.jpg?1

 

TomPRHK.jpg

2 REPLIES 2

Character non-coded

Tealium Employee
Hi Francesco, The best way to avoid encoding issues is to write the symbols directly as unicode. There's a nice 3rd party tool I use for encoding strings here: http://rishida.net/tools/conversion/. The GBP symbol, for example, is \u00A3 Just enter this into your extension in place of the £ symbol. Hope this is useful. Craig.
Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.
Highlighted

Character non-coded

Silver Contributor
Silver Contributor
Hello Craig, Thank you for the quick answer. Francesco.