Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hindi Language Validation

Former Member
0 Likes
1,982

Hi ,

How can I validate Hindi language in selection screen ???

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,906

If you are able to find the "official" Unicode range for Hindi,  English and other language, then check characters, e.g. (but perform some search as I'm unable to validate the ranges )

  • Hindi from U+0900 to U+097F (But share with Marathi, Sindhi, Nepali and Sanskrit ?)
  • Tamil from U+0B82 to U+0BFA (with gaps)
  • Mix of set of characters, rule ?
  • Punctuation marks, numbers, rule ?

Regards,

Raymond

Hi ,

How can I validate Hindi language in selection screen ???

10 REPLIES 10
Read only

Former Member
0 Likes
1,906

what do u want to validate? can u explain in detail?

Read only

0 Likes
1,907

Hi Kartik,

I have a 2 selection screen of a report. One for Hindi and another for English.

If by mistake any user put Hindi language along with English or vice versa, or may be Tamil language in replace of Hindi. How can I validate that inserted language is not Hindi ???

Read only

0 Likes
1,906

I dont think you need to check if language input is correct, did u give any radio button etc or input field for language? can u send screenshot of the selection screen,

Somethings shd be left to users responsibility

if you want, I think you can match & check unicode of the character input

Read only

0 Likes
1,906

It's a client requirement as per audit purpose.

Read only

0 Likes
1,906

Hi Kathik,

How can I match & check unicode of the character input. can you send me sample code.

Read only

0 Likes
1,906

check the FM - SCP_CHECK_LANGUAGE SCP_CHECK_CHARSET_OF_STRING, it might be useful fully or partially, I'll check further later and meanwhile you may also check that.

Read only

0 Likes
1,906

Hi Kathik,

As per your suggestion, I have tested that FM. But it's showing wrong result.

I have put both Hindi and Tamil language. But it's showing "No Check".

Read only

0 Likes
1,906

hi anik,

you are right it is not able to find hindi character set.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,907

If you are able to find the "official" Unicode range for Hindi,  English and other language, then check characters, e.g. (but perform some search as I'm unable to validate the ranges )

  • Hindi from U+0900 to U+097F (But share with Marathi, Sindhi, Nepali and Sanskrit ?)
  • Tamil from U+0B82 to U+0BFA (with gaps)
  • Mix of set of characters, rule ?
  • Punctuation marks, numbers, rule ?

Regards,

Raymond

Read only

Former Member
0 Likes
1,906

Hi Raymond,

Do you know any Function Module  to get unicode number for particular word or sentences which is written by Hindi. If yes then I can validate Hindi through Unicode number range!!!