OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Encoding of text files


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
hartwigw
Appreciator


Joined: 20 Mar 2009
Posts: 128

PostPosted: Sun Mar 25, 2018 3:57 pm    Post subject:
Encoding of text files
Reply with quote

Hi,

I have coincidentally recognised (when looking at merge differences) that at least one text file (AUTHORS.txt) is encoded using ISO Latin 1. Wouldn't it be a good idea to use UTF-8 (or a different UTF encoding) for these type of files?

Probably, AUTHORS.txt is anyway the only file where it matters (because of all the non-alphabet characters people have in their names Very Happy).

PS: It is not really important but as I said, just a coincidence.

Cheers,
Hartwig
Back to top
View user's profile Send private message
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 12148

PostPosted: Mon Mar 26, 2018 8:30 am    Post subject:
Encoding of text files
Reply with quote

Hi Hartwig,

On 25 March 2018 at 16:58, Hartwig Wiesmann <> wrote:
Quote:
I have coincidentally recognised (when looking at merge differences) that at least one text file (AUTHORS.txt) is encoded using ISO Latin 1. Wouldn't it be a good idea to use UTF-8 (or a different UTF encoding) for these type of files?

Probably, AUTHORS.txt is anyway the only file where it matters (because of all the non-alphabet characters people have in their names Very Happy).

PS: It is not really important but as I said, just a coincidence.


There hasn't be a conscious chose for a particular encoding with the
AUTHORS.txt, this file is automatically generated for each release by
osgversion over the git generated ChangeLog

make ChangeLog
osgversion -r ChangeLog

It's not idea how this all works, it's pretty adhoc mechanism as there
are typos and inconsistencies in the ChangeLog that make it difficult
to generate the authors file. I welcome others pitching in with an
improved system. Personally I'd rather Cmake scripts tackle tasks
like this, the present C++ based parsing of ChangeLog long preceded
our use of CMake.

Robert.


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts What's the status of .osg files? hunter789 General 2 Fri Nov 02, 2018 1:26 am View latest post
No new posts Compute line numbers for Glyphs in Te... Ferran Pallarès General 2 Wed Oct 24, 2018 5:58 pm View latest post
No new posts osgQt include files Michael W. Hall General 142 Sat Aug 11, 2018 9:14 pm View latest post
No new posts strange behaviour with osgText::Text christoph General 0 Wed Jul 18, 2018 12:06 pm View latest post
No new posts massive text rendering OmegaDoom General 3 Mon Jul 09, 2018 12:14 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP