The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Equivalent of Substr in Unix saurabhsinha23 UNIX for Dummies Questions & Answers 7 12-11-2007 03:40 PM
Unix equivalent of DOS set xxavier UNIX for Dummies Questions & Answers 3 07-11-2007 05:14 AM
IsDBCSLeadByteEx equivalent for unix anjan_kumar_k UNIX for Advanced & Expert Users 1 07-19-2006 06:05 AM
batch file equivalent for Unix megastar UNIX for Advanced & Expert Users 1 10-12-2005 03:20 PM
unix equivalent for windows APIs.......................... ani High Level Programming 2 10-29-2002 05:47 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-19-2006
Registered User
 

Join Date: Jul 2006
Posts: 4
IsDBCSLeadByteEx equivalent for unix

I am using IsDBCSLeadByteEx for windows, i would like to know whether there is any equivalent function in unix(linux) platform.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-19-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,483
There is none. locale is "codepage" and it works totally different from the way Windows maps keyboards, characters, and gylphs.

try man mbstowcs which creates a "normal" array from UTF-8 (unicode) character arrays.

You will have to roll your own.
Reply With Quote
  #3 (permalink)  
Old 07-19-2006
Registered User
 

Join Date: Jul 2006
Posts: 4
Thanks Jim !!!!
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0