LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-18-2012, 12:50 PM   #16
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 2,396

Rep: Reputation: 814Reputation: 814Reputation: 814Reputation: 814Reputation: 814Reputation: 814Reputation: 814

Quote:
Originally Posted by maxreason View Post
Maybe what I need are two functions (taken from "somewhere"), one to convert UTF8 to UTF16 for windoze, and one to convert UTF8 to UTF32 for linux (though that's probably not necessary since linux can tolerate UTF8 pretty much everywhere, I suspect).
That's what I suggested libiconv for.
 
Old 06-18-2012, 01:00 PM   #17
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 453Reputation: 453Reputation: 453Reputation: 453Reputation: 453
Quote:
Originally Posted by maxreason View Post
First thing I noticed about TheBetterStringLibrary is... no support for internationalization at all. In other words, the main reason I need something (a compatible unicode encoding on both platforms) is the one thing it doesn't have.

Maybe what I need are two functions (taken from "somewhere"), one to convert UTF8 to UTF16 for windoze, and one to convert UTF8 to UTF32 for linux (though that's probably not necessary since linux can tolerate UTF8 pretty much everywhere, I suspect).
Oh, but have I talked about wxWdigets ? And its unicode support: http://docs.wxwidgets.org/trunk/overview_unicode.html :


Quote:
Choosing Unicode Representation

wxWidgets uses the system wchar_t in wxString implementation by default under all systems. Thus, under Microsoft Windows, UCS-2 (simplified version of UTF-16 without support for surrogate characters) is used as wchar_t is 2 bytes on this platform. Under Unix systems, including Mac OS X, UCS-4 (also known as UTF-32) is used by default, however it is also possible to build wxWidgets to use UTF-8 internally by passing --enable-utf8 option to configure.
.
 
  


Reply

Tags
cross-platform, cygwin, linux, windows 7


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Porting of a Windows App to Linux gnraghu Programming 1 09-09-2006 10:10 AM
Porting of a Windows App to Linux gnraghu Programming 1 09-08-2006 02:57 AM
Running/making Linux App in Windoze cyberoidx Programming 12 01-21-2006 05:51 AM
cygwin porting Vader Linux - Software 1 01-01-2004 07:02 AM


All times are GMT -5. The time now is 10:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration