in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Greek language support problem

Last post 10-11-2006 4:58 AM by C1_SergeiS. 10 replies.
Page 1 of 1 (11 items)
Sort Posts: Previous Next
  • 09-05-2006 7:20 AM

    Greek language support problem

    Hi Sergei,

    Do you have any news about this?
    Please let me know.

    Thank you.

    <C1_SergeiS> wrote in message news:183015@test.componentone.com...
    Hi,

    I finally found the problem in C1Spell causing this issue. I'll try to
    provide fixed build soon.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182848@test.componentone.com...
    Hi,

    Does it work in your side even if you misspell a character of the word?

    Thank you.
    <C1_SergeiS> wrote in message news:182741@test.componentone.com...
    Hi,

    it's not normal. But it works fine on my side even if I insert a
    character inside the word. Have to say I don't have any more ideas...
    The only strange thing I noticed is the behavior of "\n" escape
    character. When I asked you to run my code to see your code page settings
    there was a string containing "\n". Typically it should be converted to
    return character but it did not happen on your machine. But I don't know if
    it is somehow related to the problem you're having with C1Spell.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182693@test.componentone.com...
    Hi,



    I ran the sample you sent me and I realized that the suggestion list
    contains words only if I add a character at the start or at the end of the
    original word.


    If I add a character between the other characters or change a
    character with someone else, the suggestion list will not appear the
    original word.


    This happens only with the words which are written in Greek
    language.


    Is all that normal?


    Thank you very much.

    <C1_SergeiS> wrote in message news:182684@test.componentone.com...
    Hi,

    attached are the sample and two dictionary files, words.txt
    containing Greek words you sent me and greek.dct which is dictionary file
    created with DictUtil. Launch the sample and copy\paste any word from
    words.txt into textbox, add any character to the word and click check button
    then. You should see the original word in suggestion list.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182543@test.componentone.com...
    Hi,


    The content of words_dumped.txt is correct.


    My current problem is the suggestion list. It appears when a bad
    word detected but never contains any word. This happens only with Greek
    words.

    Is it possible to send me a sample code like this you had used
    and the suggestion list works with Greek words?


    Thank you very much.

    <C1_SergeiS> wrote in message
    news:182537@test.componentone.com...
    Hi,

    I made change in DictUtil, it's attached to this message,
    probably it'll help.
    Also, please open words_dumped.txt file attached to my
    previous file. Does it's content look correct?

    Regards,
    Sergey.
    <Io_pas> wrote in message
    news:182458@test.componentone.com...
    Hi,

    I have attached the results of you code.

    Thank you.
    <C1_SergeiS> wrote in message
    news:182375@test.componentone.com...
    Hi,

    I've converted the list of words you sent to a dictionary
    and then dumped the words back. Files look identical except the first letter
    capitalized. Attached is a file containing dumped words.
    I suppose it's some kind of problem with code page
    settings on your side. Please try to execute the code below and send me the
    results.

    MessageBox.Show(string.Format("{0}\n{1}",
    System.Globalization.CultureInfo.CurrentCulture.DisplayName,
    System.Globalization.CultureInfo.CurrentCulture.LCID));

    As for checking, I specified Greek regional settings in my
    Windows and then performed check. All the words contained in the dictionary
    were considered correct. When I changed a letter in a word so it becomes
    incorrect, the correct word from the dictionary appeared in the suggestion
    list. So everything looks fine...

    Regards,
    Sergey.
    <Io_pas> wrote in message
    news:182331@test.componentone.com...
    Hi,

    1.. I am using version 2.2.20062.71 of C1Spell.
    2.. I have attached some Greek words to test the
    convertion.
    3.. I mean that the spell check doesn't work for Greek
    words.
    Thanks in advance.
    <C1_SergeiS> wrote in message
    news:182322@test.componentone.com...
    Hi,

    I would like to know the exact version of C1Spell you
    are using. Also, please send me 2-3 words from your Greek dictionary that
    has letters converted to English. Regarding the second issue described in
    your post, I did not quite understand what you mean "works only in English".
    Could you describe with more details?

    Regards,
    Sergey.

    <Io_pas> wrote in message
    news:182202@test.componentone.com...
    I installed the version 2006 v2 for NET2. I have
    tried to do spelling check
    in Greek language, but I have some problems.

    1.. I used the dictionary utility you had attached
    at the message "Greek
    dictionary" (posted on 11/4/2006 13:42) to create
    the custom dictionary
    file, but some Greek characters converted to English
    characters. I selected
    the choice "9 - Greek".
    2.. I created a vb.net project and I put a textbox,
    a button1 and a
    c1spell control. When I press the button1 runs the
    command
    "c1spell1.CheckControl(TextBox1)". I put in the load
    method of the form the
    command "c1spell1.MainDictFile = "c:\c1sp_el.dct"
    (c1sp_el.dct is the file I
    created with Dictionary utility) but works only in
    English. Must I do
    anythink else to operate the spell check both in
    English and Greek language?

    --------------------------------------------------------
    http://home.componentone.com/cs/forums/182202/ShowPost.aspx




    ----------------------------------------------------------
    http://home.componentone.com/cs/forums/182202/ShowPost.aspx#182322




    ------------------------------------------------------------
    http://home.componentone.com/cs/forums/182322/ShowPost.aspx#182331




    --------------------------------------------------------------
    http://home.componentone.com/cs/forums/182331/ShowPost.aspx#182375




    ----------------------------------------------------------------
    http://home.componentone.com/cs/forums/182375/ShowPost.aspx#182458




    ------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182458/ShowPost.aspx#182537




    --------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182537/ShowPost.aspx#182543




    ----------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182543/ShowPost.aspx#182684




    ------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182684/ShowPost.aspx#182693




    --------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182693/ShowPost.aspx#182741




    ----------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182741/ShowPost.aspx#182848




    ------------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182848/ShowPost.aspx#183015
  • 09-06-2006 5:21 AM In reply to

    Re: Greek language support problem

    Hi,
     
    sorry, I've been on vacations so could not answer sooner.
     
    Attached is a new DLL for you to test.
     
    I found some stranges character conversions with Greek regional settings on my system. Could you comment them?
     
    Let's take the last character in "Αβέβαιος", 'ς'
     
    If I do low case -> upper case -> lower case conversion for it I will see:
     

    'ς' (962 code)
    char.ToUpper('ς') = 'Σ' (931 code)
    char.ToLower(char.ToUpper('ς')) = 'σ' (963 code)
     
    Do you know why it happens?
    Thus if you pass "Αβέβαιο" to C1Spell, it will suggest "Αβέβαιοσ" instead of "Αβέβαιος"
     
    Regards,
    Sergey.
    <Io_pas> wrote in message news:185721@test.componentone.com...
    Hi Sergei,

    Do you have any news about this?
    Please let me know.

    Thank you.

    <C1_SergeiS> wrote in message news:183015@test.componentone.com...
    Hi,

    I finally found the problem in C1Spell causing this issue. I'll try to
    provide fixed build soon.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182848@test.componentone.com...
    Hi,

    Does it work in your side even if you misspell a character of the word?

    Thank you.
    <C1_SergeiS> wrote in message news:182741@test.componentone.com...
    Hi,

    it's not normal. But it works fine on my side even if I insert a
    character inside the word. Have to say I don't have any more ideas...
    The only strange thing I noticed is the behavior of "\n" escape
    character. When I asked you to run my code to see your code page settings
    there was a string containing "\n". Typically it should be converted to
    return character but it did not happen on your machine. But I don't know if
    it is somehow related to the problem you're having with C1Spell.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182693@test.componentone.com...
    Hi,



    I ran the sample you sent me and I realized that the suggestion list
    contains words only if I add a character at the start or at the end of the
    original word.


    If I add a character between the other characters or change a
    character with someone else, the suggestion list will not appear the
    original word.


    This happens only with the words which are written in Greek
    language.


    Is all that normal?


    Thank you very much.

    <C1_SergeiS> wrote in message news:182684@test.componentone.com...
    Hi,

    attached are the sample and two dictionary files, words.txt
    containing Greek words you sent me and greek.dct which is dictionary file
    created with DictUtil. Launch the sample and copy\paste any word from
    words.txt into textbox, add any character to the word and click check button
    then. You should see the original word in suggestion list.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182543@test.componentone.com...
    Hi,


    The content of words_dumped.txt is correct.


    My current problem is the suggestion list. It appears when a bad
    word detected but never contains any word. This happens only with Greek
    words.

    Is it possible to send me a sample code like this you had used
    and the suggestion list works with Greek words?


    Thank you very much.

    <C1_SergeiS> wrote in message
    news:182537@test.componentone.com...
    Hi,

    I made change in DictUtil, it's attached to this message,
    probably it'll help.
    Also, please open words_dumped.txt file attached to my
    previous file. Does it's content look correct?

    Regards,
    Sergey.
    <Io_pas> wrote in message
    news:182458@test.componentone.com...
    Hi,

    I have attached the results of you code.

    Thank you.
    <C1_SergeiS> wrote in message
    news:182375@test.componentone.com...
    Hi,

    I've converted the list of words you sent to a dictionary
    and then dumped the words back. Files look identical except the first letter
    capitalized. Attached is a file containing dumped words.
    I suppose it's some kind of problem with code page
    settings on your side. Please try to execute the code below and send me the
    results.

    MessageBox.Show(string.Format("{0}\n{1}",
    System.Globalization.CultureInfo.CurrentCulture.DisplayName,
    System.Globalization.CultureInfo.CurrentCulture.LCID));

    As for checking, I specified Greek regional settings in my
    Windows and then performed check. All the words contained in the dictionary
    were considered correct. When I changed a letter in a word so it becomes
    incorrect, the correct word from the dictionary appeared in the suggestion
    list. So everything looks fine...

    Regards,
    Sergey.
    <Io_pas> wrote in message
    news:182331@test.componentone.com...
    Hi,

    1.. I am using version 2.2.20062.71 of C1Spell.
    2.. I have attached some Greek words to test the
    convertion.
    3.. I mean that the spell check doesn't work for Greek
    words.
    Thanks in advance.
    <C1_SergeiS> wrote in message
    news:182322@test.componentone.com...
    Hi,

    I would like to know the exact version of C1Spell you
    are using. Also, please send me 2-3 words from your Greek dictionary that
    has letters converted to English. Regarding the second issue described in
    your post, I did not quite understand what you mean "works only in English".
    Could you describe with more details?

    Regards,
    Sergey.

    <Io_pas> wrote in message
    news:182202@test.componentone.com...
    I installed the version 2006 v2 for NET2. I have
    tried to do spelling check
    in Greek language, but I have some problems.

    1.. I used the dictionary utility you had attached
    at the message "Greek
    dictionary" (posted on 11/4/2006 13:42) to create
    the custom dictionary
    file, but some Greek characters converted to English
    characters. I selected
    the choice "9 - Greek".
    2.. I created a vb.net project and I put a textbox,
    a button1 and a
    c1spell control. When I press the button1 runs the
    command
    "c1spell1.CheckControl(TextBox1)". I put in the load
    method of the form the
    command "c1spell1.MainDictFile = "c:\c1sp_el.dct"
    (c1sp_el.dct is the file I
    created with Dictionary utility) but works only in
    English. Must I do
    anythink else to operate the spell check both in
    English and Greek language?

    --------------------------------------------------------
    http://home.componentone.com/cs/forums/182202/ShowPost.aspx




    ----------------------------------------------------------
    http://home.componentone.com/cs/forums/182202/ShowPost.aspx#182322




    ------------------------------------------------------------
    http://home.componentone.com/cs/forums/182322/ShowPost.aspx#182331




    --------------------------------------------------------------
    http://home.componentone.com/cs/forums/182331/ShowPost.aspx#182375




    ----------------------------------------------------------------
    http://home.componentone.com/cs/forums/182375/ShowPost.aspx#182458




    ------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182458/ShowPost.aspx#182537




    --------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182537/ShowPost.aspx#182543




    ----------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182543/ShowPost.aspx#182684




    ------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182684/ShowPost.aspx#182693




    --------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182693/ShowPost.aspx#182741




    ----------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182741/ShowPost.aspx#182848




    ------------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182848/ShowPost.aspx#183015

    http://home.componentone.com/cs/forums/185721/ShowPost.aspx

  • 09-08-2006 6:57 AM In reply to

    Re: Greek language support problem

    Hi Sergei,

    This is a well known problem in Windows XP.
    It seems that nobody in Microsoft cares to correct it.

    Regards
    Takis
  • 09-08-2006 7:05 AM In reply to

    Re: Greek language support problem

    Hi,
     
    The lower case character with code 931 is "sigma teliko" and the 963 is "sigma", both of them have the same upper case character with code 963. Look the attachment.
     
    Thank you.
    <C1_SergeiS> wrote in message news:185766@test.componentone.com...
    Hi,
     
    sorry, I've been on vacations so could not answer sooner.
     
    Attached is a new DLL for you to test.
     
    I found some stranges character conversions with Greek regional settings on my system. Could you comment them?
     
    Let's take the last character in "Αβέβαιος", 'ς'
     
    If I do low case -> upper case -> lower case conversion for it I will see:
     

    'ς' (962 code)
    char.ToUpper('ς') = 'Σ' (931 code)
    char.ToLower(char.ToUpper('ς')) = 'σ' (963 code)
     
    Do you know why it happens?
    Thus if you pass "Αβέβαιο" to C1Spell, it will suggest "Αβέβαιοσ" instead of "Αβέβαιος"
     
    Regards,
    Sergey.
    <Io_pas> wrote in message news:185721@test.componentone.com...
    Hi Sergei,

    Do you have any news about this?
    Please let me know.

    Thank you.

    <C1_SergeiS> wrote in message news:183015@test.componentone.com...
    Hi,

    I finally found the problem in C1Spell causing this issue. I'll try to
    provide fixed build soon.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182848@test.componentone.com...
    Hi,

    Does it work in your side even if you misspell a character of the word?

    Thank you.
    <C1_SergeiS> wrote in message news:182741@test.componentone.com...
    Hi,

    it's not normal. But it works fine on my side even if I insert a
    character inside the word. Have to say I don't have any more ideas...
    The only strange thing I noticed is the behavior of "\n" escape
    character. When I asked you to run my code to see your code page settings
    there was a string containing "\n". Typically it should be converted to
    return character but it did not happen on your machine. But I don't know if
    it is somehow related to the problem you're having with C1Spell.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182693@test.componentone.com...
    Hi,



    I ran the sample you sent me and I realized that the suggestion list
    contains words only if I add a character at the start or at the end of the
    original word.


    If I add a character between the other characters or change a
    character with someone else, the suggestion list will not appear the
    original word.


    This happens only with the words which are written in Greek
    language.


    Is all that normal?


    Thank you very much.

    <C1_SergeiS> wrote in message news:182684@test.componentone.com...
    Hi,

    attached are the sample and two dictionary files, words.txt
    containing Greek words you sent me and greek.dct which is dictionary file
    created with DictUtil. Launch the sample and copy\paste any word from
    words.txt into textbox, add any character to the word and click check button
    then. You should see the original word in suggestion list.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182543@test.componentone.com...
    Hi,


    The content of words_dumped.txt is correct.


    My current problem is the suggestion list. It appears when a bad
    word detected but never contains any word. This happens only with Greek
    words.

    Is it possible to send me a sample code like this you had used
    and the suggestion list works with Greek words?


    Thank you very much.

    <C1_SergeiS> wrote in message
    news:182537@test.componentone.com...
    Hi,

    I made change in DictUtil, it's attached to this message,
    probably it'll help.
    Also, please open words_dumped.txt file attached to my
    previous file. Does it's content look correct?

    Regards,
    Sergey.
    <Io_pas> wrote in message
    news:182458@test.componentone.com...
    Hi,

    I have attached the results of you code.

    Thank you.
    <C1_SergeiS> wrote in message
    news:182375@test.componentone.com...
    Hi,

    I've converted the list of words you sent to a dictionary
    and then dumped the words back. Files look identical except the first letter
    capitalized. Attached is a file containing dumped words.
    I suppose it's some kind of problem with code page
    settings on your side. Please try to execute the code below and send me the
    results.

    MessageBox.Show(string.Format("{0}\n{1}",
    System.Globalization.CultureInfo.CurrentCulture.DisplayName,
    System.Globalization.CultureInfo.CurrentCulture.LCID));

    As for checking, I specified Greek regional settings in my
    Windows and then performed check. All the words contained in the dictionary
    were considered correct. When I changed a letter in a word so it becomes
    incorrect, the correct word from the dictionary appeared in the suggestion
    list. So everything looks fine...

    Regards,
    Sergey.
    <Io_pas> wrote in message
    news:182331@test.componentone.com...
    Hi,

    1.. I am using version 2.2.20062.71 of C1Spell.
    2.. I have attached some Greek words to test the
    convertion.
    3.. I mean that the spell check doesn't work for Greek
    words.
    Thanks in advance.
    <C1_SergeiS> wrote in message
    news:182322@test.componentone.com...
    Hi,

    I would like to know the exact version of C1Spell you
    are using. Also, please send me 2-3 words from your Greek dictionary that
    has letters converted to English. Regarding the second issue described in
    your post, I did not quite understand what you mean "works only in English".
    Could you describe with more details?

    Regards,
    Sergey.

    <Io_pas> wrote in message
    news:182202@test.componentone.com...
    I installed the version 2006 v2 for NET2. I have
    tried to do spelling check
    in Greek language, but I have some problems.

    1.. I used the dictionary utility you had attached
    at the message "Greek
    dictionary" (posted on 11/4/2006 13:42) to create
    the custom dictionary
    file, but some Greek characters converted to English
    characters. I selected
    the choice "9 - Greek".
    2.. I created a vb.net project and I put a textbox,
    a button1 and a
    c1spell control. When I press the button1 runs the
    command
    "c1spell1.CheckControl(TextBox1)". I put in the load
    method of the form the
    command "c1spell1.MainDictFile = "c:\c1sp_el.dct"
    (c1sp_el.dct is the file I
    created with Dictionary utility) but works only in
    English. Must I do
    anythink else to operate the spell check both in
    English and Greek language?

    --------------------------------------------------------
    http://home.componentone.com/cs/forums/182202/ShowPost.aspx




    ----------------------------------------------------------
    http://home.componentone.com/cs/forums/182202/ShowPost.aspx#182322




    ------------------------------------------------------------
    http://home.componentone.com/cs/forums/182322/ShowPost.aspx#182331




    --------------------------------------------------------------
    http://home.componentone.com/cs/forums/182331/ShowPost.aspx#182375




    ----------------------------------------------------------------
    http://home.componentone.com/cs/forums/182375/ShowPost.aspx#182458




    ------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182458/ShowPost.aspx#182537




    --------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182537/ShowPost.aspx#182543




    ----------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182543/ShowPost.aspx#182684




    ------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182684/ShowPost.aspx#182693




    --------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182693/ShowPost.aspx#182741




    ----------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182741/ShowPost.aspx#182848




    ------------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182848/ShowPost.aspx#183015

    http://home.componentone.com/cs/forums/185721/ShowPost.aspx



    http://home.componentone.com/cs/forums/185721/ShowPost.aspx#185766

  • 09-08-2006 7:53 PM In reply to

    Re: Greek language support problem

    Sergey,

    the correct conversions are:

    char.ToUpper('ς') = 'Σ'
    char.ToUpper('σ') = 'Σ'
    char.ToLower('Σ') = iif((charPosition = wordLength-1) and (wordLength>1), 'ς','σ')

    Unfortunately, the Greek locale is not taking into account the position of Σ in a word, so, function ToLower('Σ') allways returns 'σ'. But this is wrong if Σ is the last letter in a word.

    For example, the word ΣΟΣΙΑΣ in lower case is σοσιας, and with first capitalized is Σοσιας.

    Regards,
    Takis
  • 09-09-2006 5:34 AM In reply to

    Re: Greek language support problem

    Geia sou Taki,
     
    Sou doulevei kanonika to spell control me ta Ellhnika?
    <TakisGen> wrote in message news:185872@test.componentone.com...
    Sergey,

    the correct conversions are:

    char.ToUpper('ς') = 'Σ'
    char.ToUpper('σ') = 'Σ'
    char.ToLower('Σ') = iif((charPosition = wordLength-1) and (wordLength>1), 'ς','σ')

    Unfortunately, the Greek locale is not taking into account the position of Σ in a word, so, function ToLower('Σ') allways returns 'σ'. But this is wrong if Σ is the last letter in a word.

    For example, the word ΣΟΣΙΑΣ in lower case is σοσιας, and with first capitalized is Σοσιας.

    Regards,
    Takis

    http://home.componentone.com/cs/forums/185766/ShowPost.aspx#185872

  • 09-09-2006 9:10 PM In reply to

    Re: Greek language support problem

    Hi,
     
    so as far as I understood the symbol with code 962 can only appear as the very last symbol in the word?
    Also, did you check the dll I attached to my previous post in this thread? If it is fine, I'll add a check suggested by TaksiGen and release C1Spell with Greek support.
     
    Regards,
    Sergey.
    <Io_pas> wrote in message news:185846@test.componentone.com...
    Hi,
     
    The lower case character with code 931 is "sigma teliko" and the 963 is "sigma", both of them have the same upper case character with code 963. Look the attachment.
     
    Thank you.
    <C1_SergeiS> wrote in message news:185766@test.componentone.com...
    Hi,
     
    sorry, I've been on vacations so could not answer sooner.
     
    Attached is a new DLL for you to test.
     
    I found some stranges character conversions with Greek regional settings on my system. Could you comment them?
     
    Let's take the last character in "Αβέβαιος", 'ς'
     
    If I do low case -> upper case -> lower case conversion for it I will see:
     

    'ς' (962 code)
    char.ToUpper('ς') = 'Σ' (931 code)
    char.ToLower(char.ToUpper('ς')) = 'σ' (963 code)
     
    Do you know why it happens?
    Thus if you pass "Αβέβαιο" to C1Spell, it will suggest "Αβέβαιοσ" instead of "Αβέβαιος"
     
    Regards,
    Sergey.
    <Io_pas> wrote in message news:185721@test.componentone.com...
    Hi Sergei,

    Do you have any news about this?
    Please let me know.

    Thank you.

    <C1_SergeiS> wrote in message news:183015@test.componentone.com...
    Hi,

    I finally found the problem in C1Spell causing this issue. I'll try to
    provide fixed build soon.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182848@test.componentone.com...
    Hi,

    Does it work in your side even if you misspell a character of the word?

    Thank you.
    <C1_SergeiS> wrote in message news:182741@test.componentone.com...
    Hi,

    it's not normal. But it works fine on my side even if I insert a
    character inside the word. Have to say I don't have any more ideas...
    The only strange thing I noticed is the behavior of "\n" escape
    character. When I asked you to run my code to see your code page settings
    there was a string containing "\n". Typically it should be converted to
    return character but it did not happen on your machine. But I don't know if
    it is somehow related to the problem you're having with C1Spell.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182693@test.componentone.com...
    Hi,



    I ran the sample you sent me and I realized that the suggestion list
    contains words only if I add a character at the start or at the end of the
    original word.


    If I add a character between the other characters or change a
    character with someone else, the suggestion list will not appear the
    original word.


    This happens only with the words which are written in Greek
    language.


    Is all that normal?


    Thank you very much.

    <C1_SergeiS> wrote in message news:182684@test.componentone.com...
    Hi,

    attached are the sample and two dictionary files, words.txt
    containing Greek words you sent me and greek.dct which is dictionary file
    created with DictUtil. Launch the sample and copy\paste any word from
    words.txt into textbox, add any character to the word and click check button
    then. You should see the original word in suggestion list.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182543@test.componentone.com...
    Hi,


    The content of words_dumped.txt is correct.


    My current problem is the suggestion list. It appears when a bad
    word detected but never contains any word. This happens only with Greek
    words.

    Is it possible to send me a sample code like this you had used
    and the suggestion list works with Greek words?


    Thank you very much.

    <C1_SergeiS> wrote in message
    news:182537@test.componentone.com...
    Hi,

    I made change in DictUtil, it's attached to this message,
    probably it'll help.
    Also, please open words_dumped.txt file attached to my
    previous file. Does it's content look correct?

    Regards,
    Sergey.
    <Io_pas> wrote in message
    news:182458@test.componentone.com...
    Hi,

    I have attached the results of you code.

    Thank you.
    <C1_SergeiS> wrote in message
    news:182375@test.componentone.com...
    Hi,

    I've converted the list of words you sent to a dictionary
    and then dumped the words back. Files look identical except the first letter
    capitalized. Attached is a file containing dumped words.
    I suppose it's some kind of problem with code page
    settings on your side. Please try to execute the code below and send me the
    results.

    MessageBox.Show(string.Format("{0}\n{1}",
    System.Globalization.CultureInfo.CurrentCulture.DisplayName,
    System.Globalization.CultureInfo.CurrentCulture.LCID));

    As for checking, I specified Greek regional settings in my
    Windows and then performed check. All the words contained in the dictionary
    were considered correct. When I changed a letter in a word so it becomes
    incorrect, the correct word from the dictionary appeared in the suggestion
    list. So everything looks fine...

    Regards,
    Sergey.
    <Io_pas> wrote in message
    news:182331@test.componentone.com...
    Hi,

    1.. I am using version 2.2.20062.71 of C1Spell.
    2.. I have attached some Greek words to test the
    convertion.
    3.. I mean that the spell check doesn't work for Greek
    words.
    Thanks in advance.
    <C1_SergeiS> wrote in message
    news:182322@test.componentone.com...
    Hi,

    I would like to know the exact version of C1Spell you
    are using. Also, please send me 2-3 words from your Greek dictionary that
    has letters converted to English. Regarding the second issue described in
    your post, I did not quite understand what you mean "works only in English".
    Could you describe with more details?

    Regards,
    Sergey.

    <Io_pas> wrote in message
    news:182202@test.componentone.com...
    I installed the version 2006 v2 for NET2. I have
    tried to do spelling check
    in Greek language, but I have some problems.

    1.. I used the dictionary utility you had attached
    at the message "Greek
    dictionary" (posted on 11/4/2006 13:42) to create
    the custom dictionary
    file, but some Greek characters converted to English
    characters. I selected
    the choice "9 - Greek".
    2.. I created a vb.net project and I put a textbox,
    a button1 and a
    c1spell control. When I press the button1 runs the
    command
    "c1spell1.CheckControl(TextBox1)". I put in the load
    method of the form the
    command "c1spell1.MainDictFile = "c:\c1sp_el.dct"
    (c1sp_el.dct is the file I
    created with Dictionary utility) but works only in
    English. Must I do
    anythink else to operate the spell check both in
    English and Greek language?

    --------------------------------------------------------
    http://home.componentone.com/cs/forums/182202/ShowPost.aspx




    ----------------------------------------------------------
    http://home.componentone.com/cs/forums/182202/ShowPost.aspx#182322




    ------------------------------------------------------------
    http://home.componentone.com/cs/forums/182322/ShowPost.aspx#182331




    --------------------------------------------------------------
    http://home.componentone.com/cs/forums/182331/ShowPost.aspx#182375




    ----------------------------------------------------------------
    http://home.componentone.com/cs/forums/182375/ShowPost.aspx#182458




    ------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182458/ShowPost.aspx#182537




    --------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182537/ShowPost.aspx#182543




    ----------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182543/ShowPost.aspx#182684




    ------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182684/ShowPost.aspx#182693




    --------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182693/ShowPost.aspx#182741




    ----------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182741/ShowPost.aspx#182848




    ------------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182848/ShowPost.aspx#183015

    http://home.componentone.com/cs/forums/185721/ShowPost.aspx



    http://home.componentone.com/cs/forums/185721/ShowPost.aspx#185766



    http://home.componentone.com/cs/forums/185766/ShowPost.aspx#185846

  • 09-12-2006 9:30 PM In reply to

    Re: Greek language support problem

    Γειά σου!
    Εχω γράψει τον κώδικα αλλά δεν εχω ελέγξει αν λειτουργεί σωστά στα Ελληνικά.
    Θα ρίξω μιά ματιά.
    Ευχές
    ----------
    Hi!
    I have finished with the code but never tested the functionality for Greek.
    I'll have a look at it.
    Regards
  • 09-12-2006 10:05 PM In reply to

    Re: Greek language support problem

    Hi Sergey,
    Thank you for your interest

    >so as far as I understood the symbol with code 962 can only appear as the very last symbol in the word?

    Yes, that is true. The only place code 962 can be found is at the end of a word.
    And code 963 will never be found at the end of a word unless the word is a single character.

    >did you check the dll I attached to my previous post in this thread?

    No, i did not. Maybe Io_pass did.
    If you want me to check it, please let me know about the fixes it has. Also, please consider that i use vs2003.

    Best Regards
    Takis
  • 09-13-2006 7:05 AM In reply to

    Re: Greek language support problem

    Hi,

     

    No, the dll doesn’t work right. It doesn’t find the rights suggested words.

     

    Thank you.

    <C1_SergeiS> wrote in message news:185880@test.componentone.com...
    Hi,
     
    so as far as I understood the symbol with code 962 can only appear as the very last symbol in the word?
    Also, did you check the dll I attached to my previous post in this thread? If it is fine, I'll add a check suggested by TaksiGen and release C1Spell with Greek support.
     
    Regards,
    Sergey.
    <Io_pas> wrote in message news:185846@test.componentone.com...
    Hi,
     
    The lower case character with code 931 is "sigma teliko" and the 963 is "sigma", both of them have the same upper case character with code 963. Look the attachment.
     
    Thank you.
    <C1_SergeiS> wrote in message news:185766@test.componentone.com...
    Hi,
     
    sorry, I've been on vacations so could not answer sooner.
     
    Attached is a new DLL for you to test.
     
    I found some stranges character conversions with Greek regional settings on my system. Could you comment them?
     
    Let's take the last character in "Αβέβαιος", 'ς'
     
    If I do low case -> upper case -> lower case conversion for it I will see:
     

    'ς' (962 code)
    char.ToUpper('ς') = 'Σ' (931 code)
    char.ToLower(char.ToUpper('ς')) = 'σ' (963 code)
     
    Do you know why it happens?
    Thus if you pass "Αβέβαιο" to C1Spell, it will suggest "Αβέβαιοσ" instead of "Αβέβαιος"
     
    Regards,
    Sergey.
    <Io_pas> wrote in message news:185721@test.componentone.com...
    Hi Sergei,

    Do you have any news about this?
    Please let me know.

    Thank you.

    <C1_SergeiS> wrote in message news:183015@test.componentone.com...
    Hi,

    I finally found the problem in C1Spell causing this issue. I'll try to
    provide fixed build soon.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182848@test.componentone.com...
    Hi,

    Does it work in your side even if you misspell a character of the word?

    Thank you.
    <C1_SergeiS> wrote in message news:182741@test.componentone.com...
    Hi,

    it's not normal. But it works fine on my side even if I insert a
    character inside the word. Have to say I don't have any more ideas...
    The only strange thing I noticed is the behavior of "\n" escape
    character. When I asked you to run my code to see your code page settings
    there was a string containing "\n". Typically it should be converted to
    return character but it did not happen on your machine. But I don't know if
    it is somehow related to the problem you're having with C1Spell.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182693@test.componentone.com...
    Hi,



    I ran the sample you sent me and I realized that the suggestion list
    contains words only if I add a character at the start or at the end of the
    original word.


    If I add a character between the other characters or change a
    character with someone else, the suggestion list will not appear the
    original word.


    This happens only with the words which are written in Greek
    language.


    Is all that normal?


    Thank you very much.

    <C1_SergeiS> wrote in message news:182684@test.componentone.com...
    Hi,

    attached are the sample and two dictionary files, words.txt
    containing Greek words you sent me and greek.dct which is dictionary file
    created with DictUtil. Launch the sample and copy\paste any word from
    words.txt into textbox, add any character to the word and click check button
    then. You should see the original word in suggestion list.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182543@test.componentone.com...
    Hi,


    The content of words_dumped.txt is correct.


    My current problem is the suggestion list. It appears when a bad
    word detected but never contains any word. This happens only with Greek
    words.

    Is it possible to send me a sample code like this you had used
    and the suggestion list works with Greek words?


    Thank you very much.

    <C1_SergeiS> wrote in message
    news:182537@test.componentone.com...
    Hi,

    I made change in DictUtil, it's attached to this message,
    probably it'll help.
    Also, please open words_dumped.txt file attached to my
    previous file. Does it's content look correct?

    Regards,
    Sergey.
    <Io_pas> wrote in message
    news:182458@test.componentone.com...
    Hi,

    I have attached the results of you code.

    Thank you.
    <C1_SergeiS> wrote in message
    news:182375@test.componentone.com...
    Hi,

    I've converted the list of words you sent to a dictionary
    and then dumped the words back. Files look identical except the first letter
    capitalized. Attached is a file containing dumped words.
    I suppose it's some kind of problem with code page
    settings on your side. Please try to execute the code below and send me the
    results.

    MessageBox.Show(string.Format("{0}\n{1}",
    System.Globalization.CultureInfo.CurrentCulture.DisplayName,
    System.Globalization.CultureInfo.CurrentCulture.LCID));

    As for checking, I specified Greek regional settings in my
    Windows and then performed check. All the words contained in the dictionary
    were considered correct. When I changed a letter in a word so it becomes
    incorrect, the correct word from the dictionary appeared in the suggestion
    list. So everything looks fine...

    Regards,
    Sergey.
    <Io_pas> wrote in message
    news:182331@test.componentone.com...
    Hi,

    1.. I am using version 2.2.20062.71 of C1Spell.
    2.. I have attached some Greek words to test the
    convertion.
    3.. I mean that the spell check doesn't work for Greek
    words.
    Thanks in advance.
    <C1_SergeiS> wrote in message
    news:182322@test.componentone.com...
    Hi,

    I would like to know the exact version of C1Spell you
    are using. Also, please send me 2-3 words from your Greek dictionary that
    has letters converted to English. Regarding the second issue described in
    your post, I did not quite understand what you mean "works only in English".
    Could you describe with more details?

    Regards,
    Sergey.

    <Io_pas> wrote in message
    news:182202@test.componentone.com...
    I installed the version 2006 v2 for NET2. I have
    tried to do spelling check
    in Greek language, but I have some problems.

    1.. I used the dictionary utility you had attached
    at the message "Greek
    dictionary" (posted on 11/4/2006 13:42) to create
    the custom dictionary
    file, but some Greek characters converted to English
    characters. I selected
    the choice "9 - Greek".
    2.. I created a vb.net project and I put a textbox,
    a button1 and a
    c1spell control. When I press the button1 runs the
    command
    "c1spell1.CheckControl(TextBox1)". I put in the load
    method of the form the
    command "c1spell1.MainDictFile = "c:\c1sp_el.dct"
    (c1sp_el.dct is the file I
    created with Dictionary utility) but works only in
    English. Must I do
    anythink else to operate the spell check both in
    English and Greek language?

    --------------------------------------------------------
    http://home.componentone.com/cs/forums/182202/ShowPost.aspx




    ----------------------------------------------------------
    http://home.componentone.com/cs/forums/182202/ShowPost.aspx#182322




    ------------------------------------------------------------
    http://home.componentone.com/cs/forums/182322/ShowPost.aspx#182331




    --------------------------------------------------------------
    http://home.componentone.com/cs/forums/182331/ShowPost.aspx#182375




    ----------------------------------------------------------------
    http://home.componentone.com/cs/forums/182375/ShowPost.aspx#182458




    ------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182458/ShowPost.aspx#182537




    --------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182537/ShowPost.aspx#182543




    ----------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182543/ShowPost.aspx#182684




    ------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182684/ShowPost.aspx#182693




    --------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182693/ShowPost.aspx#182741




    ----------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182741/ShowPost.aspx#182848




    ------------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182848/ShowPost.aspx#183015

    http://home.componentone.com/cs/forums/185721/ShowPost.aspx



    http://home.componentone.com/cs/forums/185721/ShowPost.aspx#185766



    http://home.componentone.com/cs/forums/185766/ShowPost.aspx#185846



    http://home.componentone.com/cs/forums/185846/ShowPost.aspx#185880

  • 10-11-2006 4:58 AM In reply to

    Re: Greek language support problem

    Could you be more specific?
    With new version I tried to check several Greek words from the list you sent me before.
    I did:
    1. Change symbol at random position.
    2. Insert symbol at random position.
    3. Removing symbol at random position.
     
    In all cases suggestions were generated fine. Would be nice if you can apply a list of words that does not work for you and describe steps to reproduce.
     
    Regards,
    Sergey.
    <Io_pas> wrote in message news:186051@test.componentone.com...

    Hi,

     

    No, the dll doesn’t work right. It doesn’t find the rights suggested words.

     

    Thank you.

    <C1_SergeiS> wrote in message news:185880@test.componentone.com...
    Hi,
     
    so as far as I understood the symbol with code 962 can only appear as the very last symbol in the word?
    Also, did you check the dll I attached to my previous post in this thread? If it is fine, I'll add a check suggested by TaksiGen and release C1Spell with Greek support.
     
    Regards,
    Sergey.
    <Io_pas> wrote in message news:185846@test.componentone.com...
    Hi,
     
    The lower case character with code 931 is "sigma teliko" and the 963 is "sigma", both of them have the same upper case character with code 963. Look the attachment.
     
    Thank you.
    <C1_SergeiS> wrote in message news:185766@test.componentone.com...
    Hi,
     
    sorry, I've been on vacations so could not answer sooner.
     
    Attached is a new DLL for you to test.
     
    I found some stranges character conversions with Greek regional settings on my system. Could you comment them?
     
    Let's take the last character in "Αβέβαιος", 'ς'
     
    If I do low case -> upper case -> lower case conversion for it I will see:
     

    'ς' (962 code)
    char.ToUpper('ς') = 'Σ' (931 code)
    char.ToLower(char.ToUpper('ς')) = 'σ' (963 code)
     
    Do you know why it happens?
    Thus if you pass "Αβέβαιο" to C1Spell, it will suggest "Αβέβαιοσ" instead of "Αβέβαιος"
     
    Regards,
    Sergey.
    <Io_pas> wrote in message news:185721@test.componentone.com...
    Hi Sergei,

    Do you have any news about this?
    Please let me know.

    Thank you.

    <C1_SergeiS> wrote in message news:183015@test.componentone.com...
    Hi,

    I finally found the problem in C1Spell causing this issue. I'll try to
    provide fixed build soon.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182848@test.componentone.com...
    Hi,

    Does it work in your side even if you misspell a character of the word?

    Thank you.
    <C1_SergeiS> wrote in message news:182741@test.componentone.com...
    Hi,

    it's not normal. But it works fine on my side even if I insert a
    character inside the word. Have to say I don't have any more ideas...
    The only strange thing I noticed is the behavior of "\n" escape
    character. When I asked you to run my code to see your code page settings
    there was a string containing "\n". Typically it should be converted to
    return character but it did not happen on your machine. But I don't know if
    it is somehow related to the problem you're having with C1Spell.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182693@test.componentone.com...
    Hi,



    I ran the sample you sent me and I realized that the suggestion list
    contains words only if I add a character at the start or at the end of the
    original word.


    If I add a character between the other characters or change a
    character with someone else, the suggestion list will not appear the
    original word.


    This happens only with the words which are written in Greek
    language.


    Is all that normal?


    Thank you very much.

    <C1_SergeiS> wrote in message news:182684@test.componentone.com...
    Hi,

    attached are the sample and two dictionary files, words.txt
    containing Greek words you sent me and greek.dct which is dictionary file
    created with DictUtil. Launch the sample and copy\paste any word from
    words.txt into textbox, add any character to the word and click check button
    then. You should see the original word in suggestion list.

    Regards,
    Sergey.
    <Io_pas> wrote in message news:182543@test.componentone.com...
    Hi,


    The content of words_dumped.txt is correct.


    My current problem is the suggestion list. It appears when a bad
    word detected but never contains any word. This happens only with Greek
    words.

    Is it possible to send me a sample code like this you had used
    and the suggestion list works with Greek words?


    Thank you very much.

    <C1_SergeiS> wrote in message
    news:182537@test.componentone.com...
    Hi,

    I made change in DictUtil, it's attached to this message,
    probably it'll help.
    Also, please open words_dumped.txt file attached to my
    previous file. Does it's content look correct?

    Regards,
    Sergey.
    <Io_pas> wrote in message
    news:182458@test.componentone.com...
    Hi,

    I have attached the results of you code.

    Thank you.
    <C1_SergeiS> wrote in message
    news:182375@test.componentone.com...
    Hi,

    I've converted the list of words you sent to a dictionary
    and then dumped the words back. Files look identical except the first letter
    capitalized. Attached is a file containing dumped words.
    I suppose it's some kind of problem with code page
    settings on your side. Please try to execute the code below and send me the
    results.

    MessageBox.Show(string.Format("{0}\n{1}",
    System.Globalization.CultureInfo.CurrentCulture.DisplayName,
    System.Globalization.CultureInfo.CurrentCulture.LCID));

    As for checking, I specified Greek regional settings in my
    Windows and then performed check. All the words contained in the dictionary
    were considered correct. When I changed a letter in a word so it becomes
    incorrect, the correct word from the dictionary appeared in the suggestion
    list. So everything looks fine...

    Regards,
    Sergey.
    <Io_pas> wrote in message
    news:182331@test.componentone.com...
    Hi,

    1.. I am using version 2.2.20062.71 of C1Spell.
    2.. I have attached some Greek words to test the
    convertion.
    3.. I mean that the spell check doesn't work for Greek
    words.
    Thanks in advance.
    <C1_SergeiS> wrote in message
    news:182322@test.componentone.com...
    Hi,

    I would like to know the exact version of C1Spell you
    are using. Also, please send me 2-3 words from your Greek dictionary that
    has letters converted to English. Regarding the second issue described in
    your post, I did not quite understand what you mean "works only in English".
    Could you describe with more details?

    Regards,
    Sergey.

    <Io_pas> wrote in message
    news:182202@test.componentone.com...
    I installed the version 2006 v2 for NET2. I have
    tried to do spelling check
    in Greek language, but I have some problems.

    1.. I used the dictionary utility you had attached
    at the message "Greek
    dictionary" (posted on 11/4/2006 13:42) to create
    the custom dictionary
    file, but some Greek characters converted to English
    characters. I selected
    the choice "9 - Greek".
    2.. I created a vb.net project and I put a textbox,
    a button1 and a
    c1spell control. When I press the button1 runs the
    command
    "c1spell1.CheckControl(TextBox1)". I put in the load
    method of the form the
    command "c1spell1.MainDictFile = "c:\c1sp_el.dct"
    (c1sp_el.dct is the file I
    created with Dictionary utility) but works only in
    English. Must I do
    anythink else to operate the spell check both in
    English and Greek language?

    --------------------------------------------------------
    http://home.componentone.com/cs/forums/182202/ShowPost.aspx




    ----------------------------------------------------------
    http://home.componentone.com/cs/forums/182202/ShowPost.aspx#182322




    ------------------------------------------------------------
    http://home.componentone.com/cs/forums/182322/ShowPost.aspx#182331




    --------------------------------------------------------------
    http://home.componentone.com/cs/forums/182331/ShowPost.aspx#182375




    ----------------------------------------------------------------
    http://home.componentone.com/cs/forums/182375/ShowPost.aspx#182458




    ------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182458/ShowPost.aspx#182537




    --------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182537/ShowPost.aspx#182543




    ----------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182543/ShowPost.aspx#182684




    ------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182684/ShowPost.aspx#182693




    --------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182693/ShowPost.aspx#182741




    ----------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182741/ShowPost.aspx#182848




    ------------------------------------------------------------------------------
    http://home.componentone.com/cs/forums/182848/ShowPost.aspx#183015

    http://home.componentone.com/cs/forums/185721/ShowPost.aspx



    http://home.componentone.com/cs/forums/185721/ShowPost.aspx#185766



    http://home.componentone.com/cs/forums/185766/ShowPost.aspx#185846



    http://home.componentone.com/cs/forums/185846/ShowPost.aspx#185880



    http://home.componentone.com/cs/forums/185880/ShowPost.aspx#186051