FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Random string from selected Unicode character set (test data)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Random string from selected Unicode character set (test data) [message #177359] Sat, 17 March 2012 19:50 Go to previous message
Horst Lemminger is currently offline  Horst Lemminger
Messages: 1
Registered: March 2012
Karma:
Junior Member
I am implementing the script from generatedata.com

But I would like for it to also display Unicode chars, so I can test
other languages.

I have looked everywhere, but can't seem to find a PHP function that
lets me do something like

$outstring .= $make_unicode_random('katakana');

thereby selecting things from the code points U+30A0 .. U+30FF

etc

The strings could be defined more broadly like "japanese" etc for
language separation. Not important.

Point is to get a string of 1..n chars of a certain language group, be
it Greek, European accents, Japanese, Mandarin, Hangul etc

I have found a project "babel" which is a .NET application. Not sure
if it's open sourced.

Anyone have some pointers to this project ?
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: Re: openssl_pkcs7_sign with key file
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 18:43:54 GMT 2024

Total time taken to generate the page: 0.04603 seconds