You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
What steps will reproduce the problem?
1. Take cue sheet with Russian or other language content
2. Try to parse using the library
3.
What is the expected output?
Parsed result in national characters
What do you see instead?
Line unparseable warnings
What version of the product are you using?
1.2.1
On what operating system?
Arch Linux
Please provide any additional information below.
I have fix for the problem by subclassing line reader and provide charset
decoding in lines, modified code is available in music-barrel project.
Original issue reported on code.google.com by [email protected] on 9 Mar 2013 at 6:55
don't assume that UTF-8 BOM always there, auto detect encoding is always bad idea.
it is not perfect solution, cause there is lots of character encoding scheme in the world.
it is design mistaken of CueParser class, better solution is:
it should be initanciate and hold character encoding scheme property.
or parse() accept second argument, to specify character encoding scheme.
workaround for this problem, use following code:
CueSheet cueSheet = CueParser.parse(
new LineNumberReader(
new InputStreamReader(
new FileInputStream(new File(".cue")), "UTF-8")));
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Original issue reported on code.google.com by
[email protected]
on 9 Mar 2013 at 6:55Attachments:
The text was updated successfully, but these errors were encountered: