title: Elixir and multiple replace characters in string
body: <p>I am a beginner and working with old database where characters like <code>Ę,ę,Ń,ń</code> are saved like <code>;;;ca ...</code> It's Elixir language with Phoenix Framework.
  I want to multiple replace that characters in code, I have a function:</p>
  
  <pre><code>  def convert_content(content) do
      content = String.replace(content, ";;;ca", "Ę")
      content = String.replace(content, ";;;ea", "ę")
      content = String.replace(content, ";;;d1", "Ń")
      content = String.replace(content, ";;;f1", "ń")
    end
  </code></pre>
  
  <p>But it is very slow.. I found <a href="https://github.com/elixir-lang/elixir/pull/4474" rel="nofollow noreferrer">https://github.com/elixir-lang/elixir/pull/4474</a> but it doesn't work. Thanks for help.</p>