Skip to content

Chinese characters in JSON reponse from GMAP api #16

@laaser-mself

Description

@laaser-mself

Certain fields (namely country short name) is being return in Chinese rather than the language of choice. Here is an example payload returned from the MCP service (some information redacted):

[
{
"type": "text",
"text": "{\n "location": {\n "lat": 26.XXXXXX,\n "lng": -80.XXXXXX\n },\n "formatted_address": "XXXXXXXXXXX, XXXXXXXX, FL 33326美國",\n "place_id": "EiYxNTY0NyBTVyAyMHRoIFN0LCBEYXZpZSwgRkwgMzMzMjYsIFVTQSIxEXXXXXXXXXXXXXXXXXmIEVeL5o1XEeibEJ96KhQKEgkL3SO-jgfZiBHfWSghmjJN0w"\n}",
"annotations": null,
"meta": null
}
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions