iOS – CocoaPods requires your terminal to be using UTF-8 encoding – after latest flutter upgrade

  1. Open Terminal
  2. Type open ~/.zshrc (or open ~/.profile if you don’t use zsh)

It seems that LANG="en_US.UTF-8" alone isn’t enough, so you have to set:

export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
  1. Save the file

  2. Go back to Terminal and type source ~/.zshrc and type locale

  3. You can now safely run pod update or pod install

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)