×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    12

    Question Building a Carbide C++ project with Unicode source files

    Hello,

    My project has source files saved in Unicode with a byte-order mark. When I attempt to build, I get over a thousand errors. I believe it has to with the compiler not recognizing Unicode.

    How can I build the project without changing the encoding? I would prefer not to change the encoding of the source files because I work with a multilingual team of developers and we like to put comments in different languages (English, traditional Chinese, and simplified Chinese).

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: Building a Carbide C++ project with Unicode source files

    You could maybe try Carbide, it allows you to define the encoding for different files. Though only hav eused it with UTF8 loc files so far, but might be worth of trying.

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    12

    Question Re: Building a Carbide C++ project with Unicode source files

    Quote Originally Posted by symbianyucca View Post
    You could maybe try Carbide, it allows you to define the encoding for different files. Though only hav eused it with UTF8 loc files so far, but might be worth of trying.
    I am actually using Carbide.c++. The errors that I see all appear in the "Problems" view of Carbide.c++ when I select "Project" --> "Build Project" from the menu bar.

    When I open the properties of the .h and .cpp files, their encoding seems to be already recognized as UTF-8 with BOM by the Carbide.c++ IDE. It looks like the compiler is the one having trouble. Is there an option I can pass to the compiler so it recognizes Unicode source files?

  4. #4
    Regular Contributor
    Join Date
    Nov 2006
    Location
    Chengdu China
    Posts
    169

    Re: Building a Carbide C++ project with Unicode source files

    in the carbide: Edit->Set Encoding. set it to UTF-8
    The dream is to become one machine, or let one machine become me

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. linking error
    By dakosurf in forum Open C/C++
    Replies: 0
    Last Post: 2008-03-27, 09:20
  3. Adding existing source files to a Carbide project without copying them
    By IntelliJani in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2007-08-21, 13:19
  4. Custom App Icon?
    By Rozik in forum Symbian
    Replies: 2
    Last Post: 2007-04-02, 10:37
  5. Carbide.c++: How to reference source files in a different project or folder
    By dschwabe in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2006-10-25, 13:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×