Non-latin characters for title, lyrics

For general discussions about abc notation
ayutheos
Posts: 2
Joined: Wed Sep 28, 2011 4:02 am
Humanity check: a real person
How many letters in "spam" (4)?: 3

Non-latin characters for title, lyrics

Postby ayutheos » Wed Sep 28, 2011 4:47 am

Can asian characters (chinese) be used with abc notation, e.g. for the title, lyrics? Chinese characters in the abc file comes out as '???'

I've specified charset as utf-8 in my headers:

Code: Select all

I:abc-charset utf-8


but that didn't seem to help.

Have looked through the chinese music collection at abcnotation.com, and they're all in pinyin. Was wondering if asian characters is supported.

Thanks in advance.

michel.isard
Posts: 7
Joined: Mon Jan 03, 2011 8:45 pm
Humanity check: a real person
How many letters in "spam" (4)?: 3

Re: Non-latin characters for title, lyrics

Postby michel.isard » Sat Oct 01, 2011 7:52 pm

I think that utf-8 is not supported by all abc programs

runabc program at :
http://ifdo.pugmarks.com/~seymour/runabc/top.html
seems to have a complete utf-8 support, and displays simplified and traditional Chinese, etc.

I checked it by copy and paste of Chinese characters taken with Firefox browser on the
http://en.wikipedia.org/wiki/China
and
http://en.wikipedia.org/wiki/Chinese_characters
pages,
and runabc was able to display them in the list of songs and internal editor.

However,I don't know how to type/input these characters without using the copy and paste method, from a text typed in another editor with full utf-8 editing support.

ayutheos
Posts: 2
Joined: Wed Sep 28, 2011 4:02 am
Humanity check: a real person
How many letters in "spam" (4)?: 3

Re: Non-latin characters for title, lyrics

Postby ayutheos » Tue Oct 04, 2011 5:48 am

Have downloaded and tried runabc.exe, still couldn't get chinese characters to show correctly.

I've also tried running abcm2ps from the command line, and the generated ps file doesn't show chinese characters.

I've attached screenshots of runabc for reference:
2011.10.04_01.png
2011.10.04_01.png (49.4 KiB) Viewed 3056 times


Chinese characters shows correctly in the editor, but not on the summary window.

2011.10.04_02.png
2011.10.04_02.png (21.28 KiB) Viewed 3056 times


I'm getting '???' for chinese characters in the generated ps file. Could it be a problem with windows itself? Do I need to specify the font or anything? Any ideas?

michel.isard
Posts: 7
Joined: Mon Jan 03, 2011 8:45 pm
Humanity check: a real person
How many letters in "spam" (4)?: 3

Re: Non-latin characters for title, lyrics

Postby michel.isard » Thu Oct 06, 2011 6:34 pm

If I have well understood comments in the development version of abcm2ps archive at
http://moinejf.free.fr/abcm2ps-6.4.7.tar.gz
this new version handles chinese characters with pango library.
A test file with chinese characters is in this archive.

I was unable to compile this program with pango on my linux system because of missing libraries.
The .deb file do not worked because I am on amd64.

http://abcplus.sourceforge.net/#abcm2ps gives a link to this development version on Windows
http://abcplus.sourceforge.net/abcm2ps-6.4.7-win32.zip
UNFORTUNATELY with comment "development release for Windows - no Pango support, sorry."

Perhaps in some months ....


Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest

cron