Shift_JISのテキストファイルのプレビュー

アップロードしたテキストファイルをプレビューなどすると、文字化けした状態で表示されるのですが、これを治す方法はありますでしょうか。

検索してもownCloud時代の情報しか出てこずに困っています。

Can you please provide detailed information about your environment, the used software versions, which app you’re using to display the txt file and maybe provide a screenshot if your problem to better understand your problem.