Freebsd Bitcoind doesn't read config correctly When I try to connect to my bitcoind server with the username and password in my bitcoin.conf I get a 401 error.
When I set an username and password in the bitcoind parameters(bitcoind -rpcuser=... -rpcpassword=... -daemon) it does work.

I also have prune in my config file. For some reason this does work.
Also the rpcallow works fine.
So it does read my config file?

When I add the -conf parameter with my config file I get this error:

Error reading configuration file: the options configuration file contains an invalid line '��
(I also can't read those last 2 characters)

I even get this error when the file is empty

Does someone know how I can fix this?
I don't know exacly how, but I got it working.
I do know that I used export LC_ALL=en_US.UTF-8 but I am not sure that is the reason it works. 

I still have the same error with the -conf paramter. Even when permissions are 777.

I know this isn't a perfect answer. But my bitcoind server works now.