• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Automatic code page selection

 
Ranch Hand
Posts: 101
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I already can read karaoke text from .kar files.
1. In my case, text is in track 2, is always or is any meta information where is text?
2. Main ask: default English code page is ISO-8859-1, whereas in my file is Polish ISO-8859-2 (not UTF8). How can I read that my preferred language is Polish and code page is ISO-8859-2?
3. How get list of supported by Java code pages?
 
Andrzej Borucki
Ranch Hand
Posts: 101
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ad 3: Charset.availableCharsets()
ad 2: charset has displayName(), Locale.getDefault()->locale.getLanguage() for Poland is "pl", but how associate "pl" with ISO-8859-2 ?
reply
    Bookmark Topic Watch Topic
  • New Topic