Windows clipboard problem: UTF-8 - ANSI
Posted: Tue Sep 07, 2010 11:30 am
Example 1:
1.1. In zeus: make new document (Zeus menu: File->New)
1.2. In zeus: type these two lines in it:
1.4. In zeus: Copy marked text to clipboard (Ctrl+C)
1.5. Open windows notepad
1.6. In notepad: paste text from clipboard. (Ctrl+V)
1.7. In notepad: File->Save As: test1.txt
1.8. In zeus: File->Open: test1.txt.
Everything is ok in test1.txt.
File is ANSI and Croatian leters are ok.
Example 2:
2.1. Open windows notepad
2.2. In notepad: File->Open: test1.txt. (test1.txt - from example 1)
2.3. In notepad: Mark all text in this file (Ctrl+A)
2.4. In notepad: Copy marked text to clipboard (Ctrl+C)
2.5. In zeus: make new document (Zeus menu: File->New)
2.6. In zeus: paste text from clipboard. (Ctrl+V)
Croatian leters are there, but file is UTF-8.
If I save this file with option ANSI, I lose croatian leters.
Why its happening? Where is the problem?
Is there a solution?
1.1. In zeus: make new document (Zeus menu: File->New)
1.2. In zeus: type these two lines in it:
1.3. In zeus: Mark all text in this new file (Ctrl+A)I use "Courier New CE" font in Zeus.
These are Croatians leters: Upper case: ČĆĐŠŽ lower case: čćđšž.
1.4. In zeus: Copy marked text to clipboard (Ctrl+C)
1.5. Open windows notepad
1.6. In notepad: paste text from clipboard. (Ctrl+V)
1.7. In notepad: File->Save As: test1.txt
1.8. In zeus: File->Open: test1.txt.
Everything is ok in test1.txt.
File is ANSI and Croatian leters are ok.
Example 2:
2.1. Open windows notepad
2.2. In notepad: File->Open: test1.txt. (test1.txt - from example 1)
2.3. In notepad: Mark all text in this file (Ctrl+A)
2.4. In notepad: Copy marked text to clipboard (Ctrl+C)
2.5. In zeus: make new document (Zeus menu: File->New)
2.6. In zeus: paste text from clipboard. (Ctrl+V)
Croatian leters are there, but file is UTF-8.
If I save this file with option ANSI, I lose croatian leters.
Why its happening? Where is the problem?
Is there a solution?