Sunday, May 20, 2012

Firefox urlencode lapse, or ?


I was validating an HTML page at kanji.aule-browser.com today when I hit a few URL errors in anchor links.

The URL's were added ad hoc for kanji from pages found in Firefox and the URL copied out of the address field.

Oops!  These URL's are for kanji stroke order diagrams and the URL includes a Japanese character.  The URL comes back from Firefox address bar "COPY" with the kanji character urlencoded. But: the URL includes a param following an ampersand and THAT was not encoded.

According to w3c the URL is not valid unless the ampersand is escaped (but the links were tested and worked fine ...)

Once the ampersand was escaped,  the HTML validator stopped objecting - but the "?" for the start  of parameters was still not escaped!

Here is what Firefox returns:

http://www.sp.cis.iwate-u.ac.jp/icampus/u/akanji.jsp?k=%E9%9A%A3&o=e99aa3

Here is what the HTML validator insists upon:

http://www.sp.cis.iwate-u.ac.jp/icampus/u/akanji.jsp?k=%E9%9A%A3&o=e99aa3

Notice that %26 is not what is required for this URL to work correctly.

http://www.sp.cis.iwate-u.ac.jp/icampus/u/akanji.jsp?k=%E9%9A%A3%26o=e99aa3

Firefox reports the URL on my web page as

http://www.sp.cis.iwate-u.ac.jp/icampus/u/akanji.jsp?k=%E9%9A%A3&o=e99aa3

The HTML anchor attribute on the page is now set to

href="http://www.sp.cis.iwate-u.ac.jp/icampus/u/akanji.jsp?k=%E9%9A%A3&o=e99aa3"


The kanji is 隣




Friday, May 11, 2012

Kanji Recall

The "Henshall" kanji Curl applet at my kanji study pages now will remember where you were last in the set  -  at least as long as the Curl Surge RTE plugin is running ( a session cookie is being used.)  You can even change browsers from, say, Firefox, to Chrome, and Curl remembers which Kanji you were on.

If you have a request for different behavior or a different kanji set, then forward your request to infoATaule-browser.com where the "AT" is our @ mail symbol.

Note: the applet requires the MIT Curl browser plugin from curl.com or curlap.com

Curl has a forum at communities.curl.com

Sunday, April 29, 2012

Secular Religion


We are just in from a great performance of Haydn's "Seasons" here in Fred'ton.  The work was performed in a large wooden church which may have inner buttresses causing acoustic issues.

Regardless, I got to wondering about how many of us miss choirs.  Here was a piece which could be performed on Sundays through the year: Spring for 3 months, then Summer and so forth.

The problem is with the arrangement for the close of Winter.  At my age, it is already striking in how the work moves inevitably to this end.  The finale is a trio with double choir.  It begins with the baritone/bass and then the tenor and finally the soprano. The Trinity.  No question.

The Trinity, like physical ascension, like Divinity of a man - all of these are deal-breakers.  Not to mention the virtuous maidens, the plowman in the furrow. But, oh, that verdant Spring, verdure and then praise of Sun and praise of Wine !  And ending with the traveller, salvation, and the final Amen.

Just think what a small city Vienna was in 1801 !  Not even the Vienna of Musil's Ulrich and the suburbs.  So it is sad to think that even in Papa Haydn's work, a work so close to nature, the secular cannot quite find even seasonal anthems and processionals and recessionals and some more regular occasion for the diapasons, the dithyrambs, the recitations, high, piercing clarabellas - all of which we miss in secular life - between concerts.



Friday, April 27, 2012

Study Kanjidic2's Henshall Kanji dictionary entries


I have an app up at http://kanji.aule-browser.com/ for reviewing/studying/learning the entries in the Kanjidic2 which are numberwed for Henshall's "Remembering the Kanji" book.


 
I will add a Heisig equivalent today or tomorrow depending on how this grippe progresses ...




Monday, April 23, 2012

Firefox Perapera for Kanji


I am finding that my two pages testing edict and edict2 as UTF-8 encoded text are also a great test of the Perapera Japanese-English dictionary plug-in for the Firefox browser.

Of course, the plugin required the compilation of the dict ... but it clearly hints at more uses for the content of EDICT2 than as some single text file out on a server.

I have posted two versions of each of EDICT and EDICT2 as HTML pre text:
edict white-on-black
edict black on white
edict2 w/b
edict2 b/w
Kanji dict plugins to read an English gloss are available for your web browser.

Note: each page may take a moment to load as there are some 162,000+ entries.


Monday, April 2, 2012

Ezra Pound's periplum for periplus?


Is Pound's 'periplum' merely for Greek periplus ?

An article misses prunus (also cherry) and the orchid of Mauberley - a different view when comparing Zh "plum" and Zh "sea"

as in  梅  and  海  not to mention venom   毒液   -  or even  poison  毒藥   - and then there is perineum.

Note that 'sea' may also serve as 'beach', depending upon point of view in a poem.

Pound has his fun with us when we fail to look for the symbol, or 符號 .

Note the frequency of the "peri-" prefix in Russian ... and our occasional reliance on prunes.

Casual gardeners insist on distinctions of cherry and plum ( compare prunus and the  malus  of the Romans) ; see rank and "apricot".

I await  a scholar to correct me, leaving me road apples as the itinerant master rides off to another skirmish or recent hanging.

Defeated, having given his ear, 
his wound unbound,  he went unshod,
avoiding the road and the inns.






Sunday, March 18, 2012

Tsvetaeva Poem Markup


Just as I am deciding on how I want to present the text used in Schoenberg's "Pierrot Lunaire", I find myself looking for a source list to David McDuff's Tsvetaeva translations: I find none.

One of the poems must have resisted his efforts.  Translators write a forewords and such to advise readers of the challenges they faced.

A web page of translated poems in markup should offer some options (the McDuff book is in a second edition but still lacks 2 pages of sources to offset 25 pages of introduction.)

One option would be to indicate the "shape" of the original.  Consider this instance from McDuff:

“The demon in me’s not dead,”

as a translation of ( phonetic stress added by me )

“
Жив, а не у́мер
Де́мон во мне!
”

I am relying on the following Russian-language Wikisource page: Tsvetaeva 1925, which gives the poem entitled by McDuff as "The Demon in Me" as  «Жив, а не умер…»,  but without stress (UNICODE combining characters are inserted AFTER the stressed vowel in my excerpted lines above.)

If, in fact, her two lines were reduced to his one, there is no indication.  One simple way to achieve this is with a Shape in the Curl language.