Forum Romania Inedit
Romania Inedit - Resursa ta de Fun
|
Lista Forumurilor Pe Tematici
|
Forum Romania Inedit | Reguli | Inregistrare | Login
POZE FORUM ROMANIA INEDIT
Nu sunteti logat.
|
Nou pe simpatie: luana_21
| Femeie 21 ani Prahova cauta Barbat 21 - 47 ani |
|
tdv
Membru Gold
Inregistrat: acum 10 ani
|
|
Foarte frumos dar nu īnțeleg la ce ajută ? ( īntrebarea este sinceră, pozitivă)
_______________________________________ Tutorial docx īn epub și mobi
|
|
pus acum 8 ani |
|
uciN
MEMBRU VIP
Inregistrat: acum 15 ani
|
|
@tdv
Atunci cīnd fișierul text conține caractere unicode, de exemplu, șȘțȚ, Notepad afișează următorul avertisment atunci cīnd vrem să salvăm:
Īn această situație trebuie să anulăm procesul de salvare, să alegem tipul de codare și abia apoi să salvăm. Folosind metoda descrisă mai sus, salvarea se va face implicit īn Unicode.
Dacă știi puțină engleză (nici eu nu-s expert, am făcut franceză și rusă īn școală și niciodată n-am fost un elev prea silitor, iar engleză, atīt cīt mai știu, am īnvățat singur), dă un clic pe link-ul ce indică sursa de inspirație și o să găsești textul cu explicațiile īn engleză.
Modificat de uciN (acum 8 ani)
|
|
pus acum 8 ani |
|
|
Ok. Functioneaza si pe Windows 10. Numai ca eu am ales sa lucrez cu UTF8.
Atentie! La momentul cand intrati in registrii, cautati EXACT aceasta cale: HKEY_CLASSES_ROOT\.txt\ShellNew
Nu o confundati cu: HKEY_CLASSES_ROOT\.text
Start Notepad, do not type anything, do File > Save As, choose UTF-8 encoding and save the file somewhere as TXTUTF-8.txt. Copy TXTUTF-8.txt to c:\windows\shellnew. Run regedit (registry editor) and navigate to HKEY_CLASSES_ROOT\.txt\ShellNew. Right click in the right window > New > String Value and rename it to FileName. Double click on FileName and put TXTUTF-8.txt into Value data: field and press OK.
Now the default encoding in Notepad is UTF-8.
|
Sau puteti folosi:
Vedeti ca arhiva contine 2 chestii: - 1) Set_Unicode_as_default.exe - 2) Upgrate notepad !!
Doar primul fisier ne intereseaza.
UTF-8 is superior in every way to ANSI. There is no reason to choose ANSI over UTF-8 in creating new applications as all computers can decode it. The only reason to be using ANSI is when you are forced to run an old application that you do not have any replacement for.
Summary:
1.UTF-8 is a widely used encoding while ANSI is an obsolete encoding scheme 2.ANSI uses a single byte while UTF-8 is a multibyte encoding scheme 3.UTF-8 can represent a wide variety of characters while ANSI is pretty limited 4.UTF-8 code points are standardized while ANSI has many different versions |
|
|
pus acum 8 ani |
|
Seven
Moderator
Din: Ţara Perfectului Simplu
Inregistrat: acum 14 ani
|
|
|
pus acum 8 ani |
|
|
Asa e. Daca facem un fisier nou direct din Notepad, formatul implicit e ANSI.
|
|
pus acum 8 ani |
|
uciN
MEMBRU VIP
Inregistrat: acum 15 ani
|
|
Am copiat un răspuns dat pe forumul prezentat īn prima postare (se va īnlocui utf-8 din text, cu Unicode). Precizez că eu nu am testat această metodă, pentru mine este suficient să obțin un fişier text Unicode cu clic dreapta.
Code:
It works only if you create a new notepad file using right click.
If I launch notepad from start menu (which is more convinient for me) and type some
utf-8 characters, then press save default encoding still is ANSI. Is there a way to fix this ?
There's a simple way to do this:
1- Open notepad and don't type anything;
2- Go to File>Save As...;
3- In "File name" field type "Untitled.txt";
4- Under "Encoding" choose "UTF-8";5- Save file in a safe place;
6- Go to the folder where you saved the file;
7- Right click on it and choose "Properties";
8- In "General" tab check the "Read-only" checkbox and press "OK";
9- Again right click on it and choose "Create Shortcut";
10- Rename the "Untitled - Shortcut.lnk" to "Notepad.lnk";
11- Right click on "Notepad.lnk" and choose "Properties";
12- In the "Shortcut" tab click on "Change Icon...";
13- Under "Look for icons in this file:" type the path of "notepad.exe" which is
"%windir%\system32\notepad.exe" and press "OK" twice;
14- Confirm the "Properties" window by pressing "OK";
15- Put the "Notepad.lnk" anywhere you like and use it instead of Notepad. |
Modificat de uciN (acum 8 ani)
|
|
pus acum 8 ani |
|