Home > Mobile >  why is notepad starting to add weird punctuation when im inserted different language other than en
why is notepad starting to add weird punctuation when im inserted different language other than en

Time:01-02

1

the circle in red is where i put my rtl arabic languag.resolve this cause I want to use it as an example on my web page that used RTL layout?

CodePudding user response:

Expanding on my comment:

The question marks indicate that characters that can't be decoded by the current encoding. In the bottom right corner, you can see that the current encoding is "ANSI".

You need to change the encoding to UTF-8, as that is (most likely) the correct encoding for the file. Do so via Encoding -> UTF-8 in the toolbar.

CodePudding user response:

This is clearly an Encoding problem. When an editor doesn't recognize an encoding, it often display question marks ? instead of the characters it doesn't understand.

What you can do (besides getting a better editor) is to open the file in Windows Notepad. It actually supports several encodings. You can choose encoding in the open dialog. Try different encodings, and if you succeed (the text is shown correctly), then use 'Save as' and choose 'Utf-8' as encoding. That should work in Notepad .

  • Related