PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : مشکل با ویندوز 7



behrooz_iri
April 8th, 2011, 15:42
من بعد از کلی استفاده از ویندوز xp چند روزی هست که به سون مهاجرت کردم ولی یه مشکل دارم و اونم اینه که توی فایل new text document هر عبارتی رو که فارسی مینویسم بعد از سیو کردن به صورت ؟؟؟؟؟؟ میاد مگه اینکه قبلس به فرمت utf8 سیو کنم حالا میخواستم بدونم راهی نیست که اتوماتیک خودش به صورت utf 8 سیو کنه هر چی تو رجیونال تغییرات دادم نشد

special
April 8th, 2011, 15:49
1. Right click -> New -> Text Document
2. Open "New Text Document.txt". Do NOT type anything!
3. Go to "File -> Save As... " and choose UTF-8 under "Encoding:", press "Save" and overwrite existing file. Close the file.
4. Rename "New Text Document.txt" to "TXTUTF-8.txt"
5. Copy "TXTUTF-8.txt" to "C:\WINDOWS\SHELLNEW"
6. Go to "Start -> Run..." and type
---------
regedit
---------
Press OK.
7. Navigate to
-------------------------------------------
HKEY_CLASSES_ROOT\.txt\ShellNew
-------------------------------------------
8. Right click in the right window -> New -> "String Value" and rename it to
-----------
FileName
-----------
9. Double click on "FileName" and put
----------------
TXTUTF-8.txt
----------------
into "Value data:" field and press OK.
10. It's finished.
11. Test it: Create new .txt document (Right click -> New -> Text Document). Open it and go to "File -> Save As... " and see that encoding is set by default to UTF-8 . :-)
Credits go to Robert Clemenzi and his explanation of "FileName" string (and its linkage with "Template directory") within registry:
Registry Overview - ShellNew (http://mc-computing.com/WinExplorer/WinExplorerRegistry_ShellNew.htm)
NOTE: These steps are ONLY for creating new and blank UTF-8 .txt documents. If .txt is already saved with ANSI encoding, it will stay ANSI when saving it next time - so if UTF-8 is needed (in this case), it must be set manually.
P.S. Also change "fSavePageSettings" & "fSaveWindowPositions" DWORD values to "1" within following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Notepad
Info: Saving Changes to Notepad Configuration (http://www.pc1news.com/saving-changes-to-notepad-configuration-1216.html)

behrooz_iri
April 8th, 2011, 15:59
yeah dude it works correctly thanks

merci pour votre aide

special
April 8th, 2011, 16:01
yeah dude it works correctly thanks

merci pour votre aide
Now I'm happy
Good luck :-h

behrooz_iri
April 8th, 2011, 16:04
ولی فکر کنم اگه از اول موقع نصب ویندوز باهاش زبان فارسی رو هم نصب میکردم مشکل به وجود نمیومد

special
April 8th, 2011, 16:18
درسته!
اما این موضوع را من هم در ویندوز ایکس پی دارم!