Also using plain bash printf 
(https://stackoverflow.com/questions/19938317/converting-escaped-characters-to-utf-8-in-bash)
 doesn't help:

$ echo "$(printf 'show series where \"type\" = '\''c\ufffdient'\''')"
show series where "type" = 'c�ient'

$ influx -format json -pretty --database ... -execute "$(printf 'show series 
where \"type\" = '\''c\ufffdient'\''')"
{
    "results": [
        {}
    ]
}

Not even using curl:
$ curl -G 'http://127.0.0.1:8086/query?pretty=true' --data-urlencode "db=..." 
--data-urlencode "q=$(printf 'show series where \"type\" = 
'\''c\ufffdient'\''')"
{
    "results": [
        {
            "statement_id": 0
        }
    ]
}

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/6edd3bdd-ed52-43fb-8a20-ce201f883753%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to