MKANET wrote:Is there any way to just change to the codepage when the special character is needed; then switch back to the default codepage for the rest of the characters?
Not that I know of. It is possible to some extent to do that using a temporary UTF-encoded external file, but once that file is built, there is no way I am aware of to read it back into usable form (environment or "for /f" loop variable).
That's essentially the still open question at http://www.dostips.com/forum/viewtopic.php?p=13318#p13318.
MKANET wrote:Edit: Maybe I'm not understanding, don't those special characters belong to a codepage that I can change to?
No, there are lots of unicode characters not mapped into any particular codepage.
MKANET wrote:I found a batch file by doing a search on google which switches between codepages. I just dont know what code pages those special characters belong to.
Characters do not belong to codepages. And 65001 is UTF-8, which is a semi-supported codepage, useful for little else then generating UTF-8 encoded text files, or running some apps aware of it. That's not really relevant to the topic here.
Liviu