Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DOS tool to convert letters in text file to upper/lowercase. (Miscellaneous)

posted by bretjohn Homepage E-mail, Rio Rancho, NM, 30.10.2022, 02:49

> Case conversion is not as easy as it may seem.
> If your letters are from the A-Z range, all is fine and you can use Jim's
> solution.
>
> For other languages than English there may be more letters to translate,
> e.g., German has the umlauts ÄÖÜäöü. These are outside the A-Z range
> of the ASCII table. So you need a translation table suited for the language
> the text is in.

Actually, it doesn't depend on the Language or Country but rather the Code Page. Ä is the upper-case of ä no matter what language you're using. The relationships between languages, keyboard layouts, and countries are very confusing and not at all straightforward. DOS has some internal functions to process case conversions (e.g., INT 2F.1213).

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 93 users online (0 registered, 93 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum