Using UTF8 in repository name?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Using UTF8 in repository name?

Doug Robinson
Folks:

I understand that UTF8 is the standard inside of Subversion repositories.  My question is whether having the repository name itself be UTF8?  For instance zh_CN.utf8 ?  I googled around a bit and don't see an answer.

If it is supported, is there some Apache setting that is required?

Thanks in advance.

Doug
--
DOUGLAS B ROBINSON SENIOR PRODUCT MANAGER

World Leader in Active Data Replication™
Find out more wandisco.com

THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY AND MAY BE PRIVILEGED

If this message was misdirected, WANdisco, Inc. and its subsidiaries, ("WANdisco") does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this email or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this email message are the author's own and may not reflect the views and opinions of WANdisco, unless the author is authorized by WANdisco to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by WANdisco. Although WANdisco operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using UTF8 in repository name?

Branko Čibej
On 10.04.2017 14:44, Doug Robinson wrote:
> Folks:
>
> I understand that UTF8 is the standard inside of Subversion repositories.
> My question is whether having the repository name itself be UTF8?  For
> instance zh_CN.utf8 ?  I googled around a bit and don't see an answer.
>
> If it is supported, is there some Apache setting that is required?
>
> Thanks in advance.

As long as the underlying filesystem supports it, there should be no
problems.

-- Brane
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using UTF8 in repository name?

Doug Robinson
Brane:

Thank you for replying.  Based on this post:


Based on:


I'm beginning to wonder if it is even possible (sort of similar to what Mac/OS does to UTF8 text...)?

Thank you.

Doug

On Mon, Apr 10, 2017 at 8:53 AM, Branko Čibej <[hidden email]> wrote:
On 10.04.2017 14:44, Doug Robinson wrote:
> Folks:
>
> I understand that UTF8 is the standard inside of Subversion repositories.
> My question is whether having the repository name itself be UTF8?  For
> instance zh_CN.utf8 ?  I googled around a bit and don't see an answer.
>
> If it is supported, is there some Apache setting that is required?
>
> Thanks in advance.

As long as the underlying filesystem supports it, there should be no
problems.

-- Brane



--
DOUGLAS B ROBINSON SENIOR PRODUCT MANAGER

World Leader in Active Data Replication™
Find out more wandisco.com

THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY AND MAY BE PRIVILEGED

If this message was misdirected, WANdisco, Inc. and its subsidiaries, ("WANdisco") does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this email or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this email message are the author's own and may not reflect the views and opinions of WANdisco, unless the author is authorized by WANdisco to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by WANdisco. Although WANdisco operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Using UTF8 in repository name?

Bert Huijben-5

This message on the forum is 100% about the server side configuration. The client has no known problems encoding paths in a url, but the url specification itself doesn’t document an explicit encoding and as such Apache Httpd has to do the translation of the first part of the URL to the local path. When this fails you see errors as in this forum post.

 

The part after the repository location is 100% handled inside the Subversion code and is always UTF-8 safe as it has no relation to real on-disk paths.

 

On platforms like MAC/OS or Windows the server handles UTF-8 paths directly, but on unix based platforms like Linux where paths are at the core just formed by a bunch of bytes without a special meaning, you have to use a proper configuration. If the configuration mismatches there is no way to convert from the path form to UTF-8 and the other way around.

 

                Bert

 

From: Doug Robinson [mailto:[hidden email]]
Sent: maandag 10 april 2017 22:17
To: Branko Čibej <[hidden email]>
Cc: [hidden email]
Subject: Re: Using UTF8 in repository name?

 

Brane:

 

Thank you for replying.  Based on this post:

 

 

Based on:

 

 

I'm beginning to wonder if it is even possible (sort of similar to what Mac/OS does to UTF8 text...)?

 

Thank you.

 

Doug

 

On Mon, Apr 10, 2017 at 8:53 AM, Branko Čibej <[hidden email]> wrote:

On 10.04.2017 14:44, Doug Robinson wrote:
> Folks:
>
> I understand that UTF8 is the standard inside of Subversion repositories.
> My question is whether having the repository name itself be UTF8?  For
> instance zh_CN.utf8 ?  I googled around a bit and don't see an answer.
>
> If it is supported, is there some Apache setting that is required?
>
> Thanks in advance.

As long as the underlying filesystem supports it, there should be no
problems.

-- Brane



 

--

DOUGLAS B ROBINSON SENIOR PRODUCT MANAGER

 

T +1 925 396 1125

 

World Leader in Active Data Replication™

Find out more wandisco.com

THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY AND MAY BE PRIVILEGED

If this message was misdirected, WANdisco, Inc. and its subsidiaries, ("WANdisco") does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this email or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this email message are the author's own and may not reflect the views and opinions of WANdisco, unless the author is authorized by WANdisco to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by WANdisco. Although WANdisco operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using UTF8 in repository name?

Doug Robinson
Bert / Brane:

Thank you.  Accurate as always!

The original poster just shared that setting the following in the Apache config file did the trick:

SVNUseUTF8 On

So all set.  Excellent.

Thank you.

Doug

On Tue, Apr 11, 2017 at 5:04 AM, Bert Huijben <[hidden email]> wrote:

This message on the forum is 100% about the server side configuration. The client has no known problems encoding paths in a url, but the url specification itself doesn’t document an explicit encoding and as such Apache Httpd has to do the translation of the first part of the URL to the local path. When this fails you see errors as in this forum post.

 

The part after the repository location is 100% handled inside the Subversion code and is always UTF-8 safe as it has no relation to real on-disk paths.

 

On platforms like MAC/OS or Windows the server handles UTF-8 paths directly, but on unix based platforms like Linux where paths are at the core just formed by a bunch of bytes without a special meaning, you have to use a proper configuration. If the configuration mismatches there is no way to convert from the path form to UTF-8 and the other way around.

 

                Bert

 

From: Doug Robinson [mailto:[hidden email]]
Sent: maandag 10 april 2017 22:17
To: Branko Čibej <[hidden email]>
Cc: [hidden email]
Subject: Re: Using UTF8 in repository name?

 

Brane:

 

Thank you for replying.  Based on this post:

 

 

Based on:

 

 

I'm beginning to wonder if it is even possible (sort of similar to what Mac/OS does to UTF8 text...)?

 

Thank you.

 

Doug

 

On Mon, Apr 10, 2017 at 8:53 AM, Branko Čibej <[hidden email]> wrote:

On 10.04.2017 14:44, Doug Robinson wrote:
> Folks:
>
> I understand that UTF8 is the standard inside of Subversion repositories.
> My question is whether having the repository name itself be UTF8?  For
> instance zh_CN.utf8 ?  I googled around a bit and don't see an answer.
>
> If it is supported, is there some Apache setting that is required?
>
> Thanks in advance.

As long as the underlying filesystem supports it, there should be no
problems.

-- Brane



 

--

DOUGLAS B ROBINSON SENIOR PRODUCT MANAGER

 

T +1 <a href="tel:(925)%20396-1125" value="+19253961125" target="_blank">925 396 1125

 

World Leader in Active Data Replication™

Find out more wandisco.com

THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY AND MAY BE PRIVILEGED

If this message was misdirected, WANdisco, Inc. and its subsidiaries, ("WANdisco") does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this email or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this email message are the author's own and may not reflect the views and opinions of WANdisco, unless the author is authorized by WANdisco to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by WANdisco. Although WANdisco operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed.




--
DOUGLAS B ROBINSON SENIOR PRODUCT MANAGER

World Leader in Active Data Replication™
Find out more wandisco.com

THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY AND MAY BE PRIVILEGED

If this message was misdirected, WANdisco, Inc. and its subsidiaries, ("WANdisco") does not waive any confidentiality or privilege. If you are not the intended recipient, please notify us immediately and destroy the message without disclosing its contents to anyone. Any distribution, use or copying of this email or the information it contains by other than an intended recipient is unauthorized. The views and opinions expressed in this email message are the author's own and may not reflect the views and opinions of WANdisco, unless the author is authorized by WANdisco to express such views or opinions on its behalf. All email sent to or from this address is subject to electronic storage and review by WANdisco. Although WANdisco operates anti-virus programs, it does not accept responsibility for any damage whatsoever caused by viruses being passed.

Loading...