View Single Post
  #2   (View Single Post)  
Old 22nd September 2019
Beastie Beastie is offline
Daemonology student
 
Join Date: Jan 2009
Location: /dev/earth0
Posts: 327
Default

I very rarely need this to warrant using a permanent solution as shown below since for me it's only when accessing external devices. What I usually do is to just set locale when mounting through the root user which will in turn load the appropriate character tables. Also I have no idea if the following will behave properly with East-Asian characters. So take it with a (big) grain of salt.

Without further ado...

/boot/loader.conf:
Code:
libiconv_load="YES"
/etc/rc.conf:
Code:
kiconv_preload="YES"
kiconv_local_charsets="UFT-8"
kiconv_foreign_charsets="UTF-8"
You'll need to install sysutils/kiconvtool.

Try charsets other than UTF-8 too.

HTH
__________________
May the source be with you!
Reply With Quote