# \[GMT.jl\] Text Encoding issue (UTF8)

**URL:** <https://discourse.julialang.org/t/gmt-jl-text-encoding-issue-utf8/110735>\
**Category:** General Usage\
**Tags:** vscode, gmt, julia\
**Created:** [February 25, 2024, 12:36pm UTC](https://discourse.julialang.org/t/gmt-jl-text-encoding-issue-utf8/110735 "2024-02-25T12:36:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SingingKim](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@SingingKim](https://discourse.julialang.org/u/SingingKim)\
**Post date:** [February 25, 2024, 12:36pm UTC](https://discourse.julialang.org/t/gmt-jl-text-encoding-issue-utf8/110735/1 "2024-02-25T12:36:52Z")

</div>

I’m new to GMT.jl and I am struggling with `text` function.

```julia
using GMT
text("대한민국", fmt="pdf", x=12, y=15, font=12, show=true)

```

Give the following result:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/0/3/036e14643b6febbb392159d40e3c99255d122264.jpeg)

Can anyone help me with this issue?

Thanks!

---

<div class="post-metadata">

**Author:** ![Sukera](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@Sukera](https://discourse.julialang.org/u/Sukera)\
**Post date:** [February 25, 2024, 1:01pm UTC](https://discourse.julialang.org/t/gmt-jl-text-encoding-issue-utf8/110735/2 "2024-02-25T13:01:28Z")

</div>

Seems like something in the pipeline can’t properly handle Hangul 🤔 Do other plotting packages work? If so, it’s probably best to report an issue with the [wrapper repo](https://github.com/GenericMappingTools/GMT.jl).

---

<div class="post-metadata">

**Author:** ![joa-quim](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joa-quim/32/227_2.png) [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Post date:** [February 25, 2024, 1:28pm UTC](https://discourse.julialang.org/t/gmt-jl-text-encoding-issue-utf8/110735/3 "2024-02-25T13:28:59Z")

</div>

Unfortunately the case is a bit complicated due to the fact that PostScript (GMT graphics are made in PostScript) does not support unicode. This [example](https://docs.generic-mapping-tools.org/dev/gallery/ex31.html) and [refs](https://docs.generic-mapping-tools.org/dev/reference/postscript-fonts.html#non-default-fonts) in Cyrillic shows that it is possible but I have not experience with this.
