[sword-devel] Setting the locale manager bug?

Peter von Kaehne refdoc at gmx.net
Mon Feb 2 08:23:00 MST 2015

I am currently experiencing some intense frustration with verse
reference parser - I need it working to create a whole bunch of modules
where I use it to create "life" cross references out of non-English

I have following minimal code snippet (culling vs2osisref) - and it does
not work

    VerseKey verseKey = (argc > 2) ? argv[2] : "Gen 1:1";
    std::cout << VerseKey::convertToOSIS(argv[1], &verseKey) << "\n";


chasing through this construct English references will produce 

<reference osisRef="Luke.1.1">Luke.1.1</reference>

Using a Romanian reference (Luca.1.1) will produce


Please tell me what I am doing wrong or what is wrong with the locale

I have tried the utilities vs2osisref and vs2osisreftxt with the dsame
lack of success. I used a whole bunch of locales instead of Romanian



More information about the sword-devel mailing list