Issue with encoding values in PHP, Converts values and shows … instead of a ellipsis [closed]

I have an issue with encoding in my system.

I am using htmlentites($string) to encode or convert data on all accented characters but in doing so I am having issues with certain characters like for example let us take an input as

$input1 = "(contact poulie tendeuse, contrôle rotation limiteur…)"

After applying htmlentites($input1) I get

output: (contact poulie tendeuse, contrôle rotation limiteur…)

Now I have used htmlentites and have also seen other solutions where it is said to use htmlentites($input, ENT_NOQOUTES, 'UTF-8')
but none of these have worked and when I use this I get an empty string as output.

My main expectation is it shouldn’t show values like … on the page. I am also unable to decode it back to its original character.

I want to understand why is that so and how to overcome such a situation as this text is rare in my inputs and I would not want to make a big change for such inputs.